-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.23 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.23 KB
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
from setuptools import setup, find_packages
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="cropharvest",
description="Open source remote sensing dataset with benchmarks",
long_description=long_description,
long_description_content_type="text/markdown",
author="Gabriel Tseng",
author_email="gabrieltseng95@gmail.com",
url="https://github.com/nasaharvest/cropharvest",
version="0.7.0",
classifiers=[
"Programming Language :: Python :: 3",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
],
packages=["cropharvest"] + [f"cropharvest.{f}" for f in find_packages("cropharvest")],
install_requires=[
"pandas<2.0.0",
"geopandas==0.9.0",
"xarray>=0.16.2, <0.20.0",
"tqdm>=4.61.1",
# h5py 3.7.0 breaks windows, see
# https://github.com/h5py/h5py/issues/2110
"h5py>=3.1.0,!=3.7.0",
"rasterio>=1.2.6",
"openpyxl>=2.5.9",
"scikit-learn>=0.22.2",
],
python_requires=">=3.6",
include_package_data=True,
)