-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathsetup.py
53 lines (48 loc) · 1.47 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
import os
from setuptools import find_packages, setup
here = os.path.dirname(__file__)
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
install_requires = [
"xarray>=0.20.0",
"dask",
"numpy",
"future",
]
dev_require = install_requires + [
"pytest",
"pytest-cov",
"scipy",
"flake8",
"black",
"codecov",
]
setup(
name="xgcm",
description="General Circulation Model Postprocessing with xarray",
url="https://github.com/xgcm/xgcm",
author="xgcm Developers",
author_email="rpa@ldeo.columbia.edu",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
packages=find_packages(exclude=["docs", "tests", "tests.*", "docs.*"]),
install_requires=install_requires,
extras_require={"dev": dev_require},
python_requires=">=3.9",
long_description=long_description,
long_description_content_type="text/x-rst",
setup_requires="setuptools_scm",
use_scm_version={
"write_to": "xgcm/_version.py",
"write_to_template": '__version__ = "{version}"',
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
},
)