-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathpyproject.toml
More file actions
149 lines (138 loc) · 3.94 KB
/
Copy pathpyproject.toml
File metadata and controls
149 lines (138 loc) · 3.94 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = [
"setuptools>=61",
"pip>=22",
"wheel",
"build"]
build-backend = "setuptools.build_meta"
[project]
name = "grid2op"
dynamic = ["version"]
dependencies = [
"scipy>=1.4.1",
"pandas>=1.0.3,<3", # pandas 3 might break pandapower backend
"pandapower>=3.1.1; python_version>='3.9'",
"numpy",
"scipy",
"tqdm>=4.45.0",
"networkx>=2.4",
"requests>=2.23.0",
"packaging", # because gym changes the way it uses numpy prng in version 0.26 and i need both gym before and after...
"typing_extensions",
"orderly_set<5.4.0; python_version<='3.8'",
"importlib_resources; python_version<='3.8'",
"pandapower<3; python_version<='3.8'",
"numpy<2; python_version<='3.8'",
"scipy<1.14; python_version<='3.8'",
]
requires-python = ">=3.8"
authors = [
{ name = "DONNOT Benjamin", email = "benjamin.donnot@rte-france.com" },
]
maintainers = [
{ name = "DONNOT Benjamin", email = "benjamin.donnot@rte-france.com" },
]
description = "An gymnasium compatible environment to model sequential decision making for powersystems"
readme = "README.md"
license-files = ["LICENSE.md", "AUTHORS.txt"]
keywords = ["ML", "powergrid", "optmization", "RL", "power-systems"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Topic :: Scientific/Engineering",
]
[tool.setuptools.dynamic]
version = { attr = "grid2op.__version__" }
[tool.setuptools.packages.find]
# All the following settings are optional:
where = ["."] # by default
include = ["grid2op*"] # ["*"] by default
exclude = ["binder*", "documentation*", "utils*"] # empty by default
namespaces = false
[project.urls]
Homepage = "https://github.com/Grid2op"
Documentation = "https://grid2op.readthedocs.io/"
Repository = "https://github.com/Grid2op/grid2op"
"Bug Tracker" = "https://github.com/Grid2op/grid2op/issues"
Changelog = "https://github.com/Grid2op/grid2op/blob/master/CHANGELOG.rst"
[project.optional-dependencies]
optional = [
"nbformat>=5.0.4",
"jupyter-client>=6.1.0",
"numba>=0.48.0",
"matplotlib>=3.2.1",
"plotly>=4.5.4",
"seaborn>=0.10.0",
"imageio>=2.8.0",
"pygifsicle>=1.0.1",
"psutil>=5.7.0",
"gymnasium",
"lightsim2grid"
]
gymnasium = [
"gymnasium"
]
docs = [
"numpydoc>=0.9.2",
"sphinx<7.0.0,>=2.4.4",
"sphinx-rtd-theme>=0.4.3",
"sphinxcontrib-trio>=1.1.0",
"autodocsumm>=0.1.13",
"gym>=0.17.2",
"gymnasium"
]
plot = ["imageio"]
test = [
"lightsim2grid",
"numba; python_version<='3.12'", # numba not available on python 3.13 yet
"gymnasium",
"nbconvert",
"jinja2",
"imageio",
"plotly",
"matplotlib",
"seaborn"
]
chronix2grid = [
"ChroniX2Grid>=1.2.0.post1",
"pypsa<0.25" # otherwise does not work (need fix in chronix2grid)
]
dev = [
"pre-commit"
]
[project.scripts]
"grid2op.main" = "grid2op.command_line:main"
"grid2op.download" = "grid2op.command_line:download"
"grid2op.replay" = "grid2op.command_line:replay"
"grid2op.testinstall" = "grid2op.command_line:testinstall"
"grid2op.check_release" = "grid2op.command_line:check_release"
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
grid2op = [
"data/**/*",
"data/**/.multimix",
"data/release_digest.json"
]
[tool.setuptools.exclude-package-data]
grid2op = [
"*/__pycache__/*",
"**/*.pyc",
"*_grid2op_classes*",
"binder*",
"documentation*",
"utils*"
]