-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (125 loc) · 3.58 KB
/
Copy pathpyproject.toml
File metadata and controls
143 lines (125 loc) · 3.58 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
[build-system]
requires = [
# NOTE: this needs to be kept in sync with build-requirements.txt and requirements.txt
# build-requirements.txt
"hatchling",
# requirements.txt
"numpy",
"mujoco==3.5.0"
]
build-backend = "hatchling.build"
[project]
name = "rcsssmj"
description = "MuJoCo based RoboCup Soccer Simulation Server"
keywords = ["RoboCup", "Humanoid", "Robot", "Soccer", "Simulation", "Competition", "Machine Learning", "AI", "MuJoCo"]
readme = "README.md"
authors = [
{name = "Stefan Glaser", email = "glaser.stefan@gmx.net"},
{name = "Nico Bohlinger", email = "nico.bohlinger@gmail.com"},
{name = "Hannes Braun", email = "hannes@hannesbraun.net"}
]
maintainers = [
{name = "Stefan Glaser", email = "glaser.stefan@gmx.net"}
]
license = "MIT"
license-files = ["LICENSE", "src/rcsssmj/resources/robots/*/LICENSE", "AUTHORS.md"]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development",
"Typing :: Typed",
]
requires-python = ">= 3.10"
dependencies = [
# When changing this, also update build-system.requires and requirements.txt
"numpy",
"mujoco==3.5.0"
]
dynamic = ["version"]
[project.optional-dependencies]
ogl = [
"PyOpenGL",
]
ws = [
"websockets",
]
all = ["rcsssmj[ogl,ws]"]
[project.urls]
Homepage = "https://gitlab.com/robocup-sim/rcssservermj"
Documentation = "https://robocup-sim.gitlab.io/rcssservermj/"
Repository = "https://gitlab.com/robocup-sim/rcssservermj/-/tree/master"
Issues = "https://gitlab.com/robocup-sim/rcssservermj/-/issues"
[project.scripts]
rcssservermj = "rcsssmj.__main__:soccer_sim"
[tool.ruff]
line-length = 240
exclude = ["doc", "example"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint]
extend-ignore = [
"ARG002", # unused-method-argument
"PLR2004", # magic-value-comparison
"S311" # suspicious-non-cryptographic-random-usage
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"mujoco.*",
"glfw.*",
"OpenGL.*"
]
ignore_missing_imports = true
[tool.hatch.build]
exclude = [
"/.*", # hidden directories (caches, IDE settings, etc.)
"/analysis", # scripts for internal API and performance analysis
"/docker", # the docker files for the GitLab CI/CD runners
"/example", # TODO: include examples once they are properly organized
"/tests" # TODO: include tests once there are any
]
[tool.hatch.envs.dev]
features = ["all"]
extra-dependencies = [
"mypy>=1.0.0"
]
[tool.hatch.envs.dev.scripts]
check = "mypy --install-types --non-interactive {args:src/rcsssmj tests}"
[tool.hatch.envs.doc]
features = ["all"]
extra-dependencies = [
"sphinx",
"pydata-sphinx-theme"
]
[tool.hatch.envs.doc.scripts]
html = "sphinx-build -M html doc/source doc/build"
clean = "sphinx-build -M clean doc/source doc/build"
[tool.hatch.envs.test]
features = ["all"]
extra-dependencies = [
"pytest"
]
[tool.hatch.version]
path = "src/rcsssmj/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/rcsssmj"]