forked from petercorke/robotics-toolbox-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
204 lines (155 loc) · 4.25 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[project]
name = "roboticstoolbox-python"
description = "A Python library for robotics education and research"
version = "1.1.1"
authors = [
{ name = "Jesse Haviland", email = "[email protected]" },
{ name = "Peter Corke", email = "[email protected]" },
]
dependencies = [
"numpy>=1.17.4",
"spatialmath-python>=1.1.5",
"spatialgeometry>=1.0.0",
"pgraph-python",
"scipy",
"matplotlib",
"ansitable",
"swift-sim>=1.0.0",
"rtb-data",
"progress",
"typing_extensions",
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.7"
keywords = [
"python",
"robotics",
"robotics-toolbox",
"kinematics",
"dynamics",
"motion-planning",
"trajectory-generation",
"jacobian",
"hessian",
"control",
"simulation",
"robot-manipulator",
"mobile-robot",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://github.com/petercorke/robotics-toolbox-python"
documentation = "https://petercorke.github.io/robotics-toolbox-python/"
repository = "https://github.com/petercorke/robotics-toolbox-python"
[project.optional-dependencies]
collision = ["pybullet"]
dev = [
"black",
"pytest",
"pytest-cov",
"flake8",
"pyyaml",
"sympy",
"qpsolvers",
"quadprog",
"pybullet",
"bdsim",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-autorun",
"sphinx_autodoc_typehints",
"sphinx-favicon",
]
[project.scripts]
eigdemo = "roboticstoolbox.examples.eigdemo:main"
tripleangledemo = "roboticstoolbox.examples.tripleangledemo:main"
twistdemo = "roboticstoolbox.examples.twistdemo:main"
rtbtool = "roboticstoolbox.bin.rtbtool:main"
[build-system]
requires = ["setuptools", "oldest-supported-numpy"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"roboticstoolbox",
"roboticstoolbox.backends",
"roboticstoolbox.backends.PyPlot",
"roboticstoolbox.backends.swift",
"roboticstoolbox.bin",
"roboticstoolbox.blocks",
"roboticstoolbox.examples",
"roboticstoolbox.bin",
"roboticstoolbox.robot",
"roboticstoolbox.mobile",
"roboticstoolbox.models",
"roboticstoolbox.models.DH",
"roboticstoolbox.models.ETS",
"roboticstoolbox.models.URDF",
"roboticstoolbox.tools",
"roboticstoolbox.tools.urdf",
"roboticstoolbox.tools.xacro",
]
[tool.black]
line-length = 88
target_version = ['py37']
args = '--experimental-string-processing'
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.github
| _build
| buck-out
| build
| dist
| docs
)/
)
'''
[tool.flake8]
ignore = ['F821', 'W503', 'E741']
max-line-length = 88
extend-ignore = 'E203'
[tool.cibuildwheel]
# Will cause the wheel to be installed with `pip install <wheel_file>[dev,collision]`
# test-extras = ["dev", "collision"]
# test-requires = "pytest"
# test-command = "pytest {project}/tests"
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
# Build CPython 3.7 - 3.11
build = ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
# Disable building musllinux wheels on all platforms
skip = ["pp*", "*musllinux*"]
[tool.cibuildwheel.macos]
# Build `x86_64` and `arm64` wheels on an Intel runner.
# Note that the `arm64` wheel cannot be tested in this configuration.
archs = ["x86_64", "arm64"]
[tool.cibuildwheel.linux]
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
archs = ["x86_64", "aarch64"]
[tool.cibuildwheel.windows]
# On an Windows Intel runner build wheels
archs = ["AMD64", "x86"]
[tool.coverage.run]
omit = ["roboticstoolbox/examples/*", "test_*.py"]