-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (32 loc) · 1007 Bytes
/
setup.py
File metadata and controls
39 lines (32 loc) · 1007 Bytes
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
#!/usr/bin/env python
"""The setup script."""
from os.path import exists
from setuptools import find_packages, setup
import versioneer
if exists("requirements.txt"):
with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n")
else:
install_requires = ["intake", "xarray", "pyyaml", "tqdm", "intake-xarray", "dask"]
if exists("README.rst"):
with open("README.rst") as f:
long_description = f.read()
else:
long_description = ""
setup(
name="xcollection",
description="xcollection",
long_description=long_description,
maintainer="Matt Long",
maintainer_email="mclong@ucar.edu",
url="https://github.com/NCAR/xcollection",
packages=find_packages(),
package_dir={"xcollection": "xcollection"},
include_package_data=True,
install_requires=install_requires,
license="Apache 2.0",
zip_safe=False,
keywords="xcollection",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)