-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
102 lines (95 loc) · 2.47 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "flatland-rl"
description = "Multi Agent Reinforcement Learning on Trains"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
keywords = ["flatland"]
authors = [{ name = "Flatland Association", email = "[email protected]" }]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
dependencies = [
"attrs",
"boto3",
"click",
"crowdai_api",
"dataclasses",
"graphviz",
"importlib_resources<2.0.0",
"ipycanvas",
"ipyevents",
"ipython",
"ipywidgets",
"matplotlib",
"msgpack_numpy",
"msgpack",
"networkx",
"numpy<2",
"pandas",
"Pillow",
"pyglet",
"PyYAML",
"recordtype",
"redis",
"seaborn",
# https://docs.python.org/3/whatsnew/3.12.html: Python 3.12 has removed pkg_resources from the standard library (moved to setuptools):
"setuptools",
"svgutils",
"timeout_decorator",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"coverage",
"flake8",
"flake8-eradicate",
"ipycytoscape",
"jupyter",
"jupyter-contrib-nbextensions",
"jupyter-core",
"m2r",
"nbmake",
"notebook",
"numpydoc",
"pip-tools",
"pytest",
"pytest-retry",
"snakeviz",
"tox",
"twine",
"twine",
]
# TODO https://github.com/flatland-association/flatland-rl/issues/73 merge whole of flatland/contrib into flatland/ml and add all dependencies from flatland/contrib/requirements_training.txt here
ml = [
"ray[default,rllib]",
"wandb",
"torch",
# pin dm-tree, 0.1.9 has import errors under MacOS M1 at least.
"dm-tree<0.1.9"
# "supersuit",
# "pettingzoo",
# "stable_baselines3",
]
[project.urls]
"Homepage" = "https://www.flatland-association.org"
"Github Repository" = "https://github.com/flatland-association/flatland-rl"
"Issue Tracker" = "https://github.com/flatland-association/flatland-rl/issues"
[project.scripts]
flatland-demo = "flatland.cli:demo"
evaluator = "flatland.cli:evaluator"
[tool.setuptools.packages]
find = { }
[tool.setuptools_scm]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]