-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
152 lines (108 loc) · 3.05 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
[project]
name = "swift-sim"
description = "A Python/Javascript Robot Simulator and Visualiser"
version = "1.1.0"
authors = [
{ name = "Jesse Haviland", email = "[email protected]" },
{ name = "Peter Corke", email = "[email protected]" },
]
dependencies = ["numpy>=1.17.4", "spatialgeometry>=1.0.0", "websockets"]
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/jhavl/swift"
documentation = "https://jhavl.github.io/swift/"
repository = "https://github.com/jhavl/swift"
[project.optional-dependencies]
dev = [
"black",
"roboticstoolbox-python~=1.0.0",
"swift-sim",
"pytest",
"pytest-cov",
"flake8",
"pyyaml",
]
docs = ["sphinx", "sphinx_rtd_theme", "sphinx-autorun"]
vision = ["aiortc", "opencv-python"]
nb = ["ipython", "notebook"]
[build-system]
requires = ["setuptools", "oldest-supported-numpy"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["swift"]
[tool.black]
line-length = 88
target_version = ['py37']
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]
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"]