-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
74 lines (70 loc) · 2.32 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
# Copyright (c) 2019-2020, RTE (https://www.rte-france.com)
# See AUTHORS.txt
# This Source Code Form is subject to the terms of the Mozilla Public License, version 2.0.
# If a copy of the Mozilla Public License, version 2.0 was not distributed with this file,
# you can obtain one at http://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0
# This file is part of Grid2Game, Grid2Game a gamified platform to interact with grid2op environments.
import setuptools
from setuptools import setup
pkgs = {
"required": [
"plotly",
"dash",
"dash_bootstrap_components>=1.0",
"grid2op>=1.6.4",
"imageio",
"orjson",
# "igraph"
# "graphviz",
# "networkx"
],
"extras": {
"docs": [
"numpydoc>=0.9.2",
"sphinx>=2.4.4",
"sphinx-rtd-theme>=0.4.3",
"sphinxcontrib-trio>=1.1.0",
"autodocsumm>=0.1.13",
"grid2op>=1.6.4",
"recommonmark",
],
"recommended": [
"lightsim2grid"
]
}
}
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(name='grid2game',
version='0.1.1',
description='A gamification of the "powergrid problem" using grid2op and dash',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python :: 3.7',
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English"
],
keywords=['powergrid', 'power-systems',
'grid', 'grid2op',
'Grid2Op', 'visualization'],
author='Benjamin DONNOT',
author_email='[email protected]',
url="https://github.com/BDonnot/grid2game",
license='MPL',
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=pkgs["required"],
extras_require=pkgs["extras"],
zip_safe=False,
entry_points={
'console_scripts': [
'grid2game=grid2game.app:start_cli'
]
}
)