-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
45 lines (39 loc) · 1.08 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
[build-system]
requires = [
"setuptools>=61.0",
"wheel",
"pybind11>=2.6.0",
"cmake>=3.18",
]
build-backend = "setuptools.build_meta"
[project]
name = "toposolve"
dynamic = ["version"]
authors = [
{name = "Jack Min Ong", email = "[email protected]"},
]
description = "A fast C++ implementation of the Held-Karp algorithm for solving TSP"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pybind11>=2.6.0",
]
[tool.setuptools.dynamic]
version = {attr = "toposolve.__version__"}
[tool.cibuildwheel]
test-command = "python -c \"import toposolve; solver = toposolve.TSPSolver()\""
test-skip = ["*universal2:arm64"]
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"]
before-build = "pip install delocate"
repair-wheel-command = "delocate-wheel --require-archs {archs} -w {dest_dir} -v {wheel}"
[tool.cibuildwheel.linux]
archs = ["x86_64"]
[tool.cibuildwheel.windows]
archs = ["AMD64"]