-
Notifications
You must be signed in to change notification settings - Fork 86
/
setup.py
70 lines (66 loc) · 1.9 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
from setuptools import find_packages, setup
from openmapflow.constants import VERSION
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
long_description = "\n".join(
[line for line in long_description.split("\n") if not line.startswith("<img")]
)
setup(
name="openmapflow",
description="Creating maps with machine learning models and earth observation data.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Ivan Zvonkov",
author_email="izvonkov@umd.edu",
url="https://github.com/nasaharvest/openmapflow",
version=VERSION,
license="Apache License 2.0",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=["openmapflow"]
+ [f"openmapflow.{f}" for f in find_packages("openmapflow")],
package_data={
"": [
"Dockerfile",
"notebooks/*.ipynb",
"scripts/*",
"trigger_inference_function/*",
"templates/*",
]
},
scripts=["openmapflow/scripts/openmapflow", "openmapflow/scripts/deploy.sh"],
install_requires=[
"numpy",
"pandas>=1.3.5,<2",
"pyyaml>=6.0",
"requests",
"tqdm>=4.9.0",
],
extras_require={
"data": [
"cmocean",
"earthengine-api",
"geopandas",
"google-cloud-storage",
"netCDF4",
"rasterio",
"xarray==0.19",
],
"all": [
"cmocean",
"earthengine-api",
"geopandas",
"google-cloud-storage",
"ipython",
"netCDF4",
"rasterio",
"xarray==0.19",
"fastcore<1.5.18",
"tsai",
],
},
python_requires=">=3.6",
)