-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
108 lines (83 loc) · 2.86 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
from pygcam.version import VERSION
# Build the full version with MCS on when running on ReadTheDocs.
# In normal mode, MCS is an optional install.
# import os
# import platform
#
# if platform.system() != 'Windows':
# # Unfortunately, this stalled on Windows when I tested it...
# import ez_setup
# ez_setup.use_setuptools(version='36.7.2')
from setuptools import setup
requirements = [
'dash',
'flask',
'ipython',
'ipyparallel',
'lxml',
'matplotlib',
'numpy',
'pandas',
'plotly',
'requests',
'rpy2',
'scipy',
'seaborn',
'semver',
'sphinx-argparse',
'sphinx-rtd-theme',
'sqlalchemy<2.0.0',
]
long_description = '''
pygcam
=======
The ``pygcam`` package provides a workflow management framework for GCAM
consisting of scripts and a Python API for customizing the framework by
writing plug-ins, or by writing new applications.
Full documentation and a tutorial are available at
https://pygcam.readthedocs.io.
Core functionality
------------------
* Project workflow management framework that lets you define steps to run and
run them all or run steps selectively.
* The main ``gt`` ("GCAM tool") script, which provides numerous
sub-commands, and can be extended by writing plug-ins.
* The ``gt`` sub-commands facilitate key steps in working with GCAM, including:
* Setting up experiments by modifying XML input files and configuration.xml
* Running GCAM, locally or by queueing jobs on a Linux cluster
* Querying the GCAM database to extract results to CSV files
* Interpolating between time-steps and computing differences between baseline and policy cases
* Plotting results
* Setting up, running, and analyzing Monte Carlo simulations on Linux clusters
* The scripts are based on the pygcam API, documented at https://pygcam.readthedocs.io
* Scripts that provide flexible command-line interfaces to the functionality provided by
the library.
* Customization through an extensive configuration system
Who do I talk to?
------------------
* Rich Plevin (rich@plevin.com)
'''
setup(
name='pygcam',
version=VERSION,
description='Python 3 library and scripts for interfacing with GCAM',
platforms=['Windows', 'MacOS', 'Linux'],
packages=['pygcam'],
entry_points={'console_scripts': ['gt = pygcam.tool:main']},
install_requires=requirements,
include_package_data = True,
# extras_require=extras_requirements,
url='https://github.com/JGCRI/pygcam',
download_url='https://github.com/JGCRI/pygcam.git',
license='MIT License',
author='Richard Plevin',
author_email='rich@plevin.com',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
],
zip_safe=True,
# TBD
# test_suite="string identifying test module etc."
)