forked from blue-marble/gridpath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (66 loc) · 2.5 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
from setuptools import find_packages, setup
# Get version
version = {}
with open("./version.py") as fp:
exec(fp.read(), version)
# Set up extras
extras_doc = [
"Sphinx==5.0.1",
"sphinx-argparse==0.3.1",
]
extras_ui = [
"eventlet==0.33.1", # Async mode for SocketIO
"Flask==2.0.1", # Local API server for UI
"Flask-RESTful==0.3.9", # Flask extension for building REST APIs
"Flask-SocketIO==4.3.2", # Flask client-server communication; see #772
"psutil==5.8.0", # Process management
"python-socketio[client]<5,>=4.3.0", # SocketIO Python client; see #772
"Werkzeug==2.0.2", # See #903
]
extras_black = ["black"]
extras_coverage = [
"coverage", # test coverage
"coveralls", # automated coverage results
]
extras_all = extras_ui + extras_doc + extras_black + extras_coverage
setup(
name="GridPath",
version=version["__version__"],
description="A versatile simulation and optimization platform for "
"power-system planning and operations.",
url="https://www.gridpath.io",
maintainer="Blue Marble Analytics LLC",
maintainer_email="[email protected]",
license="Apache v2",
platforms=["MacOS", "Windows"],
keywords=["energy", "electricity", "power", "renewables", "planning", "operations"],
packages=find_packages(),
install_requires=[
"Pyomo==6.3.0", # Optimization modeling language
"pandas==1.4.2", # Data-processing
"bokeh==2.2.3", # Visualization library (required - see #779)
"pscript==0.7.5", # Python to JavaScript compiler (for viz)
"networkx==2.5.1", # network package for DC OPF
"pyutilib==6.0.0", # used for solver temp file management
"Jinja2==3.0.3", # bokeh dependency; see #904
],
extras_require={
"doc": extras_doc,
"ui": extras_ui,
"all": extras_all,
"coverage": extras_coverage,
},
include_package_data=True,
entry_points={
"console_scripts": [
"gridpath_run = gridpath.run_scenario:main",
"gridpath_run_e2e = gridpath.run_end_to_end:main",
"gridpath_get_inputs = gridpath.get_scenario_inputs:main",
"gridpath_import_results = " "gridpath.import_scenario_results:main",
"gridpath_process_results = gridpath.process_results:main",
"gridpath_validate = gridpath.validate_inputs:main",
"gridpath_run_server = ui.server.run_server:main",
"gridpath_run_queue_manager = ui.server.run_queue_manager:main",
]
},
)