-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
46 lines (38 loc) · 1.28 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
#!/usr/bin/env python
"""The setup script."""
import os
from setuptools import find_packages, setup
if os.path.exists('requirements.txt'):
with open('requirements.txt') as f:
install_requires = f.read().strip().split('\n')
else:
install_requires = ['xmltodict', 'xsdata', 'xarray']
if os.path.exists('requirements-dev.txt'):
with open('requirements-dev.txt') as f:
dev_install_requires = f.read().strip().split('\n')
if os.path.exists('README.md'):
with open('README.md') as f:
long_description = f.read()
else:
long_description = ''
setup(
name='xncml',
description='Tools for manipulating and opening NCML (NetCDF Markup) files with/for xarray',
long_description=long_description,
maintainer='Anderson Banihirwe',
maintainer_email='[email protected]',
url='https://github.com/xarray-contrib/xncml',
packages=find_packages(),
package_dir={'xncml': 'xncml'},
include_package_data=True,
install_requires=install_requires,
license='Apache 2.0',
zip_safe=False,
keywords='xncml, xarray, netcdf',
use_scm_version=True,
python_requires='>=3.9, <4',
setup_requires=['setuptools_scm', 'setuptools>=30.3.0', 'setuptools_scm_git_archive'],
extras_require={
'dev': dev_install_requires,
},
)