From f97f3b1c103adde01fb559498add1a0dfd8338dd Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Wed, 4 Sep 2024 15:21:28 +0200
Subject: [PATCH] WIP: Move all converter code to submodule

---
 src/caoscrawler/converters/__init__.py        | 21 +++++++++++++++++++
 .../{ => converters}/converters.py            |  0
 .../{ => converters}/hdf5_converter.py        |  0
 .../{conv_impl => converters}/spss.py         |  0
 4 files changed, 21 insertions(+)
 create mode 100644 src/caoscrawler/converters/__init__.py
 rename src/caoscrawler/{ => converters}/converters.py (100%)
 rename src/caoscrawler/{ => converters}/hdf5_converter.py (100%)
 rename src/caoscrawler/{conv_impl => converters}/spss.py (100%)

diff --git a/src/caoscrawler/converters/__init__.py b/src/caoscrawler/converters/__init__.py
new file mode 100644
index 00000000..a7fa95b3
--- /dev/null
+++ b/src/caoscrawler/converters/__init__.py
@@ -0,0 +1,21 @@
+# encoding: utf-8
+#
+# This file is a part of the LinkAhead Project.
+#
+# Copyright (C) 2024 Indiscale GmbH <info@indiscale.com>
+# Copyright (C) 2024 Daniel Hornung <d.hornung@indiscale.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+"""Submdule containing all default and optional converters."""
diff --git a/src/caoscrawler/converters.py b/src/caoscrawler/converters/converters.py
similarity index 100%
rename from src/caoscrawler/converters.py
rename to src/caoscrawler/converters/converters.py
diff --git a/src/caoscrawler/hdf5_converter.py b/src/caoscrawler/converters/hdf5_converter.py
similarity index 100%
rename from src/caoscrawler/hdf5_converter.py
rename to src/caoscrawler/converters/hdf5_converter.py
diff --git a/src/caoscrawler/conv_impl/spss.py b/src/caoscrawler/converters/spss.py
similarity index 100%
rename from src/caoscrawler/conv_impl/spss.py
rename to src/caoscrawler/converters/spss.py
-- 
GitLab