forked from corteva/geocube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (61 loc) · 1.83 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
"""The setup script."""
from itertools import chain
from setuptools import find_packages, setup
from geocube import __version__
with open("README.rst") as readme_file:
readme = readme_file.read()
requirements = [
"appdirs",
"Click>=6.0",
"datacube",
"geopandas>=0.7",
"rasterio",
"rioxarray>=0.4",
"xarray>=0.17",
"pyproj>=2",
]
test_requirements = ["pytest>=3.6", "pytest-cov"]
doc_requirements = ["sphinx-click==1.1.0", "nbsphinx", "sphinx_rtd_theme"]
extras_require = {
"doc": doc_requirements,
"dev": test_requirements
+ doc_requirements
+ [
"black",
"flake8",
"pylint",
"isort",
"pre-commit",
],
}
extras_require["all"] = list(chain.from_iterable(extras_require.values()))
setup(
author="GeoCube Contributors",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="Tool to convert geopandas vector data into rasterized xarray data.",
entry_points={"console_scripts": ["geocube=geocube.cli.geocube:geocube"]},
install_requires=requirements,
license="BSD license",
long_description=readme + "\n\n",
include_package_data=True,
keywords="geocube",
name="geocube",
packages=find_packages(include=["geocube*"]),
test_suite="test",
tests_require=test_requirements,
extras_require=extras_require,
url="https://github.com/corteva/geocube",
version=__version__,
zip_safe=False,
python_requires=">=3.7",
)