forked from pangeo-data/climpred
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (43 loc) · 1.44 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (43 loc) · 1.44 KB
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
from setuptools import find_packages, setup
from os.path import exists
if exists('README.rst'):
with open('README.rst') as f:
long_description = f.read()
else:
long_description = ''
with open('requirements.txt') as f:
install_requires = f.read().strip().split('\n')
test_requirements = ['pytest-cov']
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
setup(
maintainer='Riley X. Brady and Aaron Spring',
maintainer_email='riley.brady@colorado.edu',
description='An xarray wrapper for analysis of ensemble forecast models for climate'
+ ' prediction.',
install_requires=install_requires,
python_requires='>=3.6',
license='MIT',
long_description=long_description,
classifiers=CLASSIFIERS,
name='climpred',
packages=find_packages(),
test_suite='climpred/tests',
tests_require=test_requirements,
url='https://github.com/bradyrx/climpred',
use_scm_version={'version_scheme': 'post-release', 'local_scheme': 'dirty-tag'},
setup_requires=[
'setuptools_scm',
'setuptools>=30.3.0',
'setuptools_scm_git_archive',
],
zip_safe=False,
)