forked from OMS-NetZero/FAIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (41 loc) · 1.37 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
from setuptools import setup
from setuptools import find_packages
import versioneer
# README #
def readme():
with open('README.rst') as f:
return f.read()
AUTHORS = [
("Chris Smith", "[email protected]"),
("Richard Millar", "[email protected]"),
("Zeb Nicholls", "[email protected]"),
("Myles Allen", "[email protected]"),
]
setup(
name='fair',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Python package to perform calculations with the FaIR simple climate model',
long_description=readme(),
keywords='simple climate model temperature response carbon cycle emissions forcing',
url='https://github.com/OMS-NetZero/FAIR',
author=", ".join([author[0] for author in AUTHORS]),
author_email=", ".join([author[1] for author in AUTHORS]),
license='Apache 2.0',
packages=find_packages(exclude=['docs*']),
package_data={'': ['*.csv']},
python_requires='>=3.6, <4',
include_package_data=True,
install_requires=[
'matplotlib',
'numpy>=1.14.5',
'scipy>=0.19.0',
'pandas',
],
zip_safe=False,
extras_require={
'docs': ['sphinx>=1.4', 'nbsphinx'],
'dev' : ['notebook', 'scmdata>=0.7.1', 'wheel', 'twine'],
'test': ['pytest>=4.0', 'nbval', 'pytest-cov', 'codecov']
}
)