-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·51 lines (45 loc) · 2.15 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
# ___________________________________________________________________________
#
# Prescient
# Copyright 2020 National Technology & Engineering Solutions of Sandia, LLC
# (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
# Government retains certain rights in this software.
# This software is distributed under the Revised BSD License.
# ___________________________________________________________________________
#!/bin/usr/env python
import sys
# We raise an error if trying to install with less than python 3.7
if sys.version_info < (3,7):
sys.exit("This package requires Python 3.7 or greater")
if sys.version_info >= (4,0):
sys.exit("Support for Python 4 is undetermined")
from setuptools import setup, find_namespace_packages
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / 'README.md').read_text()
packages = find_namespace_packages(include=['prescient.*'])
setup(name='gridx-prescient',
version='2.2.3.dev0',
description='Power Generation Scenario creation and simulation utilities',
url='https://github.com/grid-parity-exchange/Prescient',
author='Jean-Paul Watson, David Woodruff, Andrea Staid, Dominic Yang',
author_email='[email protected]',
python_requires='>=3.7, <4',
packages=packages,
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
'console_scripts': [
'runner.py = prescient.scripts.runner:main',
'populator.py = prescient.scripts.populator:main',
'scenario_creator.py = prescient.scripts.scenario_creator:main',
'simulator.py = prescient.scripts.simulator:main',
]
},
package_data={'prescient.downloaders.rts_gmlc_prescient':['runners/*.txt','runners/templates/*'],
'prescient.simulator.tests':['regression_tests_data/**/*'],
},
install_requires=['numpy','matplotlib','pandas','scipy','pyomo>=6.1.2',
'python-dateutil','networkx','jupyter', 'gridx-egret==0.5.6.dev0',
],
)