forked from grid-parity-exchange/Prescient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·47 lines (42 loc) · 2.05 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
# ___________________________________________________________________________
#
# 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 glob
import sys
import os
# 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
packages = find_namespace_packages(include=['prescient.*'])
setup(name='gridx-prescient',
version='2.0',
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,
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',
#'prescient.py = prescient.simulator.prescient:main'
]
},
package_data={'prescient.downloaders.rts_gmlc_prescient':['runners/*.txt','runners/templates/*']},
install_requires=['numpy','matplotlib','pandas','scipy','pyomo>=6.1.2',
'python-dateutil','networkx','jupyter',
'gridx-egret @ git+https://github.com/grid-parity-exchange/Egret.git'],
dependency_links=['git+https://github.com/grid-parity-exchange/Egret.git#egg=gridx-egret'],
)