forked from pangeo-data/rechunker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (66 loc) · 1.94 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
72
import os
from setuptools import find_packages, setup
here = os.path.dirname(__file__)
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
install_requires = [
"dask[array,diagnostics]",
"zarr>=2.11",
"mypy_extensions",
]
doc_requires = [
"sphinx",
"sphinxcontrib-srclinks",
"sphinx-pangeo-theme",
"numpydoc",
"IPython",
"nbsphinx",
]
test_requires = ["pytest", "hypothesis"]
extras_require = {
"complete": install_requires
+ ["apache_beam", "pyyaml", "fsspec", "prefect<2", "xarray>=2022.3"],
"docs": doc_requires,
"test": test_requires,
}
extras_require["dev"] = (
extras_require["complete"]
+ extras_require["test"]
+ [
"pytest-cov",
"flake8",
"black",
"codecov",
"mypy==0.782",
]
)
setup(
name="rechunker",
description="A library for rechunking arrays.",
url="https://github.com/pangeo-data/rechunker",
author="Pangeo developers",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Database",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(exclude=["docs", "tests", "tests.*", "docs.*"]),
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.8",
long_description=long_description,
long_description_content_type="text/markdown",
setup_requires="setuptools_scm",
use_scm_version={
"write_to": "rechunker/_version.py",
"write_to_template": '__version__ = "{version}"',
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
},
)