forked from NCAR/metric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.52 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from os.path import exists
from setuptools import find_packages, setup
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')
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.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
]
setup(
name='metric',
packages= find_packages(),
description='Calculates observational-style decomposition of AMOC using '
'output from an ocean general circulation model.',
author="Fred Castruccio",
author_email="[email protected]",
install_requires=install_requires,
python_requires='>3.5',
license='Apache License, Version 2.0',
long_description=long_description,
classifiers=CLASSIFIERS,
url="",
package_dir={'metric': 'metric'},
package_data={'metric': ['etc/*']},
zip_safe=False,
use_scm_version={'version_scheme': 'post-release', 'local_scheme': 'dirty-tag'},
setup_requires=['setuptools_scm', 'setuptools>=30.3.0'],
entry_points={'console_scripts': 'run_metric=metric.run_metric:main'},
)