-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
48 lines (41 loc) · 1.3 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
#!/usr/bin/env python
import versioneer
from setuptools import setup, find_packages
DISTNAME = "xhistogram"
LICENSE = "MIT"
AUTHOR = "xhistogram Developers"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/xgcm/xhistogram"
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
]
INSTALL_REQUIRES = ["xarray>=0.12.0", "dask[array]>=2.3.0", "numpy>=1.17"]
PYTHON_REQUIRES = ">=3.7"
DESCRIPTION = "Fast, flexible, label-aware histograms for numpy and xarray"
def readme():
with open("README.rst") as f:
return f.read()
setup(
name=DISTNAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
license=LICENSE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
classifiers=CLASSIFIERS,
description=DESCRIPTION,
long_description=readme(),
install_requires=INSTALL_REQUIRES,
python_requires=PYTHON_REQUIRES,
url=URL,
packages=find_packages(),
)