-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathpyproject.toml
154 lines (131 loc) · 4.76 KB
/
pyproject.toml
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
150
151
152
153
154
# -------------------------------------------------------------------------- #
# Sinergym package metadata #
# -------------------------------------------------------------------------- #
[tool.poetry]
package-mode = true
name = "sinergym"
version = "3.7.9"
description = "Sinergym provides a Gymnasium-based interface to interact with building simulations. This allows control in simulation time through custom controllers, including reinforcement learning agents"
license = "MIT"
authors = [
"Alejandro Campoy Nieves <[email protected]>",
"Antonio Manjavacas",
"Javier Jiménez",
"Miguel Molina",
"Juan Gómez"
]
# maintainers = [...
# README file(s) are used as the package description
readme = ["README.md", "INSTALL.md", "CODE_OF_CONDUCT.md", "LICENSE"]
homepage = "https://github.com/ugr-sail/sinergym"
repository = "https://github.com/ugr-sail/sinergym"
documentation = "https://ugr-sail.github.io/sinergym"
# Keywords (translated to tags on the package index)
keywords = [
"reinforcement-learning",
"buildings",
"simulation",
"control",
"reinforcement-learning-environments",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
# Include (equivalent to MANIFEST.in)
include = ["sinergym/version.txt", "sinergym/data/**"]
# Part of proyect you want to exclude in packaging
# exclude = []
# -------------------------------------------------------------------------- #
# Main dependencies #
# -------------------------------------------------------------------------- #
[tool.poetry.dependencies] # Main group
# Compatible Python versions
python = "^3.12"
gymnasium = "^1.0.0"
numpy = "^2.2.0"
pandas = "^2.2.2"
eppy = "^0.5.63"
tqdm = "^4.66.5"
xlsxwriter = "^3.2.0"
epw = "^1.2.dev2"
# Extra dependencies (optional)
pytest = { version = "^8.3.3", optional = true }
pytest-cov = { version = "^5.0.0", optional = true }
pytest-xdist = { version = "^3.6.1", optional = true }
coverage = { version = "^7.6.1", optional = true }
stable-baselines3 = { version = "^2.4.0", optional = true }
wandb = { version = "^0.18.1", optional = true }
IPython = { version = "^8.27.0", optional = true }
google-api-python-client = { version = "^2.58.0", optional = true }
oauth2client = { version = "^4.1.3", optional = true }
google-cloud-storage = { version = "^2.5.0", optional = true }
# -------------------------------------------------------------------------- #
# Group dependencies (develop) #
# -------------------------------------------------------------------------- #
[tool.poetry.group.format.dependencies]
autopep8 = "^2.3.1"
isort = "^5.13.2"
pipdeptree = "^2.23.4"
[tool.poetry.group.typing.dependencies]
pytype = "^2024.9.13"
urllib3 = "^2.2.3"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-xdist = "^3.6.1"
coverage = "^7.6.1"
wandb = "^0.18.1"
[tool.poetry.group.doc.dependencies]
sphinx = "^7.4.7"
sphinx-rtd-theme = "^2.0.0"
sphinxcontrib-spelling = "^8.0.0"
sphinxcontrib-jquery = "^4.1"
sphinx-multitoc-numbering = "^0.1.3"
sphinx-multiversion = "^0.2.4"
pyenchant = "^3.2.2"
nbsphinx = "^0.9.5"
nbsphinx_link = "^1.3.1"
mock = "^5.1.0"
IPython = "^8.27.0"
[tool.poetry.group.ipython.dependencies]
IPython = "^8.27.0"
[tool.poetry.group.drl.dependencies]
stable-baselines3 = "^2.4.0"
[tool.poetry.group.platforms.dependencies]
wandb = "^0.18.1"
[tool.poetry.group.gcloud.dependencies]
google-api-python-client = "^2.58.0"
oauth2client = "^4.1.3"
google-cloud-storage = "^2.5.0"
# Entry points
# [tool.poetry.scripts]
# sinergym = "sinergym.cli:main"
# -------------------------------------------------------------------------- #
# Define extras for pip install #
# -------------------------------------------------------------------------- #
[tool.poetry.extras]
test = ["pytest", "pytest-cov", "pytest-xdist", "coverage", "wandb"]
drl = ["stable-baselines3", "wandb"]
notebooks = ["IPython"]
gcloud = ["google-api-python-client", "oauth2client", "google-cloud-storage"]
extras = [
"pytest",
"pytest-cov",
"pytest-xdist",
"coverage",
"stable-baselines3",
"wandb",
"IPython",
"google-api-python-client",
"oauth2client",
"google-cloud-storage",
]
# -------------------------------------------------------------------------- #
# Poetry build configuration #
# -------------------------------------------------------------------------- #
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"