forked from jf---/python-fcl
-
Notifications
You must be signed in to change notification settings - Fork 58
/
pyproject.toml
115 lines (96 loc) · 3.07 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
[build-system]
requires = [
"setuptools",
"wheel",
"Cython<3.0",
"numpy; python_version<'3.12'",
"numpy>=1.26.0b1; python_version>='3.12'"]
build-backend = "setuptools.build_meta"
[project]
name = "python-fcl"
description = "Python bindings for the Flexible Collision Library"
requires-python = ">=3.7"
authors = [
{name = "Jelle Feringa", email = "[email protected]"},
{name = "Matthew Matl", email = "[email protected]"},
{name = "Shirokuma", email = "[email protected]"},
{name = "Michael Dawson-Haggerty"},
{name = "See contributor list"},
]
maintainers = [{name = "Matthew Matl", email = "[email protected]"}]
license = {text = "BSD"}
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
keywords = ["fcl collision distance"]
dependencies = [
"numpy; python_version<'3.12'",
"numpy>=1.26.0b1; python_version>='3.12'",
"Cython",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/berkeleyautomation/python-fcl"
[tool.setuptools]
include-package-data = true
package-dir = {"" = "src"}
license-files = ["LICENSE"]
[tool.setuptools.package-data]
"*" = ["*.pyx", "*.pxd", "*.dll"]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools.dynamic]
version = {attr = "fcl.__version__"}
[tool.ruff]
target-version = "py37"
line-length = 90
[tool.ruff.lint]
# See https://github.com/charliermarsh/ruff#rules for error code definitions.
select = [
"B", # bugbear
"C", # comprehensions
"E", # style errors
"F", # flakes
"I", # import sorting
"RUF100", # meta
"U", # upgrade
"W", # style warnings
"YTT", # sys.version
]
ignore = [
"C901", # Comprehension is too complex (11 > 10)
"N802", # Function name should be lowercase
"N806", # Variable in function should be lowercase
"E501", # Line too long ({width} > {limit} characters)
"B904", # raise ... from err
"B905", # zip() without an explicit strict= parameter
]
[tool.cibuildwheel]
skip = ["pp*", "*musllinux*"]
test-requires = "pytest"
test-command = "pytest {package}/tests"
[tool.cibuildwheel.linux]
before-all = "bash build_dependencies/install_linux.sh"
archs = ["x86_64"]
[tool.cibuildwheel.macos]
before-all = "bash build_dependencies/install_macos.sh"
environment = { CPATH = "$(brew --prefix)/include:$(brew --prefix)/include/eigen3", LD_LIBRARY_PATH = "$(brew --prefix)/lib" }
[tool.cibuildwheel.windows]
before-all = "powershell build_dependencies\\install_windows.ps1"
archs = ["AMD64"]