From b46bd23e032273cc311549ab4b20d6cc5b6e1d81 Mon Sep 17 00:00:00 2001 From: Ziga Luksic Date: Wed, 6 Sep 2023 17:05:28 +0200 Subject: [PATCH] Remove deprecated subpackages --- core/README.md | 5 -- core/deprecated_eolearn_core/__init__.py | 1 - core/requirements-ray.txt | 1 - core/requirements.txt | 1 - core/setup.py | 71 ------------------ coregistration/README.md | 5 -- .../__init__.py | 1 - coregistration/requirements.txt | 1 - coregistration/setup.py | 68 ------------------ features/README.md | 5 -- .../deprecated_eolearn_features/__init__.py | 1 - features/requirements.txt | 1 - features/setup.py | 67 ----------------- geometry/README.md | 5 -- .../deprecated_eolearn_geometry/__init__.py | 1 - geometry/requirements.txt | 1 - geometry/setup.py | 68 ------------------ io/README.md | 5 -- io/deprecated_eolearn_io/__init__.py | 1 - io/requirements-geodb.txt | 2 - io/requirements-meteoblue.txt | 1 - io/requirements.txt | 1 - io/setup.py | 69 ------------------ mask/README.md | 5 -- mask/deprecated_eolearn_mask/__init__.py | 1 - mask/requirements.txt | 1 - mask/setup.py | 68 ------------------ ml_tools/README.md | 5 -- .../deprecated_eolearn_ml_tools/__init__.py | 1 - ml_tools/requirements-plotting.txt | 1 - ml_tools/requirements-tdigest.txt | 1 - ml_tools/requirements.txt | 1 - ml_tools/setup.py | 72 ------------------- visualization/README.md | 5 -- .../__init__.py | 1 - visualization/requirements.txt | 1 - visualization/setup.py | 70 ------------------ 37 files changed, 615 deletions(-) delete mode 100644 core/README.md delete mode 100644 core/deprecated_eolearn_core/__init__.py delete mode 100644 core/requirements-ray.txt delete mode 100644 core/requirements.txt delete mode 100644 core/setup.py delete mode 100644 coregistration/README.md delete mode 100644 coregistration/deprecated_eolearn_coregistration/__init__.py delete mode 100644 coregistration/requirements.txt delete mode 100644 coregistration/setup.py delete mode 100644 features/README.md delete mode 100644 features/deprecated_eolearn_features/__init__.py delete mode 100644 features/requirements.txt delete mode 100644 features/setup.py delete mode 100644 geometry/README.md delete mode 100644 geometry/deprecated_eolearn_geometry/__init__.py delete mode 100644 geometry/requirements.txt delete mode 100644 geometry/setup.py delete mode 100644 io/README.md delete mode 100644 io/deprecated_eolearn_io/__init__.py delete mode 100644 io/requirements-geodb.txt delete mode 100644 io/requirements-meteoblue.txt delete mode 100644 io/requirements.txt delete mode 100644 io/setup.py delete mode 100644 mask/README.md delete mode 100644 mask/deprecated_eolearn_mask/__init__.py delete mode 100644 mask/requirements.txt delete mode 100644 mask/setup.py delete mode 100644 ml_tools/README.md delete mode 100644 ml_tools/deprecated_eolearn_ml_tools/__init__.py delete mode 100644 ml_tools/requirements-plotting.txt delete mode 100644 ml_tools/requirements-tdigest.txt delete mode 100644 ml_tools/requirements.txt delete mode 100644 ml_tools/setup.py delete mode 100644 visualization/README.md delete mode 100644 visualization/deprecated_eolearn_visualization/__init__.py delete mode 100644 visualization/requirements.txt delete mode 100644 visualization/setup.py diff --git a/core/README.md b/core/README.md deleted file mode 100644 index cc0380f6f..000000000 --- a/core/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.core subpackage - -The deprecated way to install `eolearn.core`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/core/deprecated_eolearn_core/__init__.py b/core/deprecated_eolearn_core/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/core/deprecated_eolearn_core/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/core/requirements-ray.txt b/core/requirements-ray.txt deleted file mode 100644 index 48d77c941..000000000 --- a/core/requirements-ray.txt +++ /dev/null @@ -1 +0,0 @@ -ray[default] diff --git a/core/requirements.txt b/core/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/core/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/core/setup.py b/core/setup.py deleted file mode 100644 index d091ceffe..000000000 --- a/core/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_core", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-core", - python_requires=">=3.8", - version=get_version(), - description="Core Machine Learning Framework at Sinergise", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - extras_require={ - "RAY": parse_requirements("requirements-ray.txt"), - }, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/coregistration/README.md b/coregistration/README.md deleted file mode 100644 index 94fdede85..000000000 --- a/coregistration/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.coregistration subpackage - -The deprecated way to install `eolearn.coregistration`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/coregistration/deprecated_eolearn_coregistration/__init__.py b/coregistration/deprecated_eolearn_coregistration/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/coregistration/deprecated_eolearn_coregistration/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/coregistration/requirements.txt b/coregistration/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/coregistration/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/coregistration/setup.py b/coregistration/setup.py deleted file mode 100644 index e09b78e5f..000000000 --- a/coregistration/setup.py +++ /dev/null @@ -1,68 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_coregistration", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-coregistration", - python_requires=">=3.8", - version=get_version(), - description="A collection of image co-registration EOTasks", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/features/README.md b/features/README.md deleted file mode 100644 index 15664d2c6..000000000 --- a/features/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.features subpackage - -The deprecated way to install `eolearn.features`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/features/deprecated_eolearn_features/__init__.py b/features/deprecated_eolearn_features/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/features/deprecated_eolearn_features/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/features/requirements.txt b/features/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/features/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/features/setup.py b/features/setup.py deleted file mode 100644 index d1e869c84..000000000 --- a/features/setup.py +++ /dev/null @@ -1,67 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_features", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-features", - python_requires=">=3.8", - version=get_version(), - description="A collection of feature manipulation EOTasks and utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/geometry/README.md b/geometry/README.md deleted file mode 100644 index 7dbf06e43..000000000 --- a/geometry/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.geometry subpackage - -The deprecated way to install `eolearn.geometry`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/geometry/deprecated_eolearn_geometry/__init__.py b/geometry/deprecated_eolearn_geometry/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/geometry/deprecated_eolearn_geometry/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/geometry/requirements.txt b/geometry/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/geometry/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/geometry/setup.py b/geometry/setup.py deleted file mode 100644 index 5a4ead372..000000000 --- a/geometry/setup.py +++ /dev/null @@ -1,68 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_geometry", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-geometry", - python_requires=">=3.8", - version=get_version(), - description="A collection of geometry EOTasks and utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/io/README.md b/io/README.md deleted file mode 100644 index c989e1bb7..000000000 --- a/io/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.io subpackage - -The deprecated way to install `eolearn.io`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/io/deprecated_eolearn_io/__init__.py b/io/deprecated_eolearn_io/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/io/deprecated_eolearn_io/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/io/requirements-geodb.txt b/io/requirements-geodb.txt deleted file mode 100644 index 3776404a5..000000000 --- a/io/requirements-geodb.txt +++ /dev/null @@ -1,2 +0,0 @@ -python-dotenv -xcube-geodb @ git+git://github.com/dcs4cop/xcube-geodb.git diff --git a/io/requirements-meteoblue.txt b/io/requirements-meteoblue.txt deleted file mode 100644 index 9db977488..000000000 --- a/io/requirements-meteoblue.txt +++ /dev/null @@ -1 +0,0 @@ -meteoblue_dataset_sdk>=1,<2 diff --git a/io/requirements.txt b/io/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/io/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/io/setup.py b/io/setup.py deleted file mode 100644 index 6bdea282e..000000000 --- a/io/setup.py +++ /dev/null @@ -1,69 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_io", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-io", - python_requires=">=3.8", - version=get_version(), - description="A collection of input/output EOTasks and utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - extras_require={"METEOBLUE": parse_requirements("requirements-meteoblue.txt")}, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/mask/README.md b/mask/README.md deleted file mode 100644 index bcb6f7ffe..000000000 --- a/mask/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.mask subpackage - -The deprecated way to install `eolearn.mask`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/mask/deprecated_eolearn_mask/__init__.py b/mask/deprecated_eolearn_mask/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/mask/deprecated_eolearn_mask/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/mask/requirements.txt b/mask/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/mask/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/mask/setup.py b/mask/setup.py deleted file mode 100644 index 8d7e1ce62..000000000 --- a/mask/setup.py +++ /dev/null @@ -1,68 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_mask", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-mask", - python_requires=">=3.8", - version=get_version(), - description="A collection of masking EOTasks and utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/ml_tools/README.md b/ml_tools/README.md deleted file mode 100644 index 148a28ee1..000000000 --- a/ml_tools/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.ml_tools subpackage - -The deprecated way to install `eolearn.ml_tools`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/ml_tools/deprecated_eolearn_ml_tools/__init__.py b/ml_tools/deprecated_eolearn_ml_tools/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/ml_tools/deprecated_eolearn_ml_tools/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/ml_tools/requirements-plotting.txt b/ml_tools/requirements-plotting.txt deleted file mode 100644 index 6ccafc3f9..000000000 --- a/ml_tools/requirements-plotting.txt +++ /dev/null @@ -1 +0,0 @@ -matplotlib diff --git a/ml_tools/requirements-tdigest.txt b/ml_tools/requirements-tdigest.txt deleted file mode 100644 index 3dd522fdf..000000000 --- a/ml_tools/requirements-tdigest.txt +++ /dev/null @@ -1 +0,0 @@ -tdigest==0.5.2.2 diff --git a/ml_tools/requirements.txt b/ml_tools/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/ml_tools/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/ml_tools/setup.py b/ml_tools/setup.py deleted file mode 100644 index 26a21315b..000000000 --- a/ml_tools/setup.py +++ /dev/null @@ -1,72 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_ml_tools", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-ml-tools", - python_requires=">=3.8", - version=get_version(), - description="A collection of machine learning EOTasks and utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - install_requires=parse_requirements("requirements.txt"), - extras_require={ - "PLOTTING": parse_requirements("requirements-plotting.txt"), - "TDIGEST": parse_requirements("requirements-tdigest.txt"), - }, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - ], -) diff --git a/visualization/README.md b/visualization/README.md deleted file mode 100644 index 3f5629740..000000000 --- a/visualization/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# eolearn.visualization subpackage - -The deprecated way to install `eolearn.visualization`. See [migration guide](https://github.com/sentinel-hub/eo-learn/issues/733) on how to correctly install the `eo-learn` package. - -Installs requirements and a dummy package that is detected by `eo-learn` but otherwise does not change anything. diff --git a/visualization/deprecated_eolearn_visualization/__init__.py b/visualization/deprecated_eolearn_visualization/__init__.py deleted file mode 100644 index 5b6018861..000000000 --- a/visualization/deprecated_eolearn_visualization/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "1.5.0" diff --git a/visualization/requirements.txt b/visualization/requirements.txt deleted file mode 100644 index 562050068..000000000 --- a/visualization/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -eo-learn diff --git a/visualization/setup.py b/visualization/setup.py deleted file mode 100644 index 8201d00aa..000000000 --- a/visualization/setup.py +++ /dev/null @@ -1,70 +0,0 @@ -from __future__ import annotations - -import os - -from setuptools import find_packages, setup - - -def get_long_description(): - this_directory = os.path.abspath(os.path.dirname(__file__)) - - with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: - return f.read() - - -def parse_requirements(file): - with open(os.path.join(os.path.dirname(__file__), file)) as requirements_file: - return sorted({line.partition("#")[0].strip() for line in requirements_file} - set("")) - - -def get_version(): - path = os.path.join(os.path.dirname(__file__), "deprecated_eolearn_visualization", "__init__.py") - with open(path) as version_file: - for line in version_file: - if line.find("__version__") >= 0: - version = line.split("=")[1].strip() - version = version.strip('"').strip("'") - return version - - -setup( - name="eo-learn-visualization", - python_requires=">=3.8", - version=get_version(), - description="A collection of visualization utilities", - long_description=get_long_description(), - long_description_content_type="text/markdown", - url="https://github.com/sentinel-hub/eo-learn", - project_urls={ - "Documentation": "https://eo-learn.readthedocs.io", - "Source Code": "https://github.com/sentinel-hub/eo-learn", - "Bug Tracker": "https://github.com/sentinel-hub/eo-learn/issues", - "Forum": "https://forum.sentinel-hub.com", - }, - author="Sinergise EO research team", - author_email="eoresearch@sinergise.com", - license="MIT", - packages=find_packages(), - package_data={"eolearn": ["visualization/report_templates/report.html"]}, - install_requires=parse_requirements("requirements.txt"), - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Intended Audience :: Education", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: Unix", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: GIS", - "Topic :: Scientific/Engineering :: Image Processing", - "Topic :: Scientific/Engineering :: Visualization", - ], -)