-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·79 lines (69 loc) · 1.81 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
[build-system]
requires = ["poetry-core", "setuptools", "cffi>=1.16.0", "wheel"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "box2d-py"
version = "0.1.0"
description = "Bindings for box2d v3"
authors = ["Giorgos Giagas <[email protected]>"]
license = "MIT"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "box2d", from = "src" },
{ include = "testbed", from = "src" },
]
# Top-level include to add package data files
include = [
"src/box2d/*.so",
"src/box2d/*.txt",
"src/box2d/*.rst",
"src/testbed/*.so",
"src/testbed/*.txt",
"src/testbed/*.rst"
]
[tool.poetry.dependencies]
python = ">=3.12"
cffi = ">=1.16.0"
dearpygui = { version = "*", optional = true }
setuptools = "^75.8.0"
[tool.poetry.extras]
testbed = ["dearpygui"]
[tool.poetry.build]
generate-setup-file = true
script = "build_box2d_cffi.py"
[tool.poetry.group.test.dependencies]
pytest = "*"
[tool.poetry.scripts]
box2d-testbed = "testbed.testbed:main"
build-box2d-cffi = "src.tools.build_cffi:main"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"src/tests",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["box2d*", "testbed*"]
[tool.setuptools.package-data]
"*" = ["*.txt", "*.rst", "*.so", "*.pyd", "*.dll"]
[project]
name = "box2d-py"
version = "0.1.0"
description = "Bindings for box2d v3"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.12"
authors = [
{ name = "Giorgos Giagas", email = "[email protected]" }
]
maintainers = [
{ name = "Giorgos Giagas", email = "[email protected]" }
]
optional-dependencies = { testbed = ["dearpygui"] }
dependencies = ["cffi"]
dynamic = ["scripts"]