forked from sentinel-hub/eo-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (62 loc) · 2.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import os
from setuptools import 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:
long_description = f.read()
# Removes lines with an image from description
return "\n".join(line for line in long_description.split("\n") if not line.strip().startswith("<img"))
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(""))
setup(
name="eo-learn",
python_requires=">=3.7",
version="1.3.1",
description="Earth observation processing framework for machine learning in Python",
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=[],
include_package_data=True,
install_requires=[
"eo-learn-core==1.3.1",
"eo-learn-coregistration==1.3.1",
"eo-learn-features==1.3.1",
"eo-learn-geometry==1.3.1",
"eo-learn-io==1.3.1",
"eo-learn-mask==1.3.1",
"eo-learn-ml-tools==1.3.1",
"eo-learn-visualization==1.3.1",
],
extras_require={"DEV": parse_requirements("requirements-dev.txt")},
zip_safe=False,
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.7",
"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",
],
)