-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
71 lines (58 loc) · 1.97 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
[build-system]
requires = ["setuptools", "wheel", "numpy>=2.0.0", "cython>=3.0.11"]
build-backend = "setuptools.build_meta"
[project]
name = "cpprb"
version = "11.0.0"
license = { file = "LICENSE" }
authors = [{ name = "Yamada Hiroyuki" }]
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries",
]
dependencies = ["numpy"]
dynamic = [
"description",
"readme",
]
[project.urls]
"Home Page" = "https://ymd_h.gitlab.io/cpprb/"
"Source Code" = "https://gitlab.com/ymd_h/cpprb"
"Mirror" = "https://github.com/ymd-h/cpprb"
"Change Log" = "https://ymd_h.gitlab.io/cpprb/changelog/"
"Bug Report & QA" = "https://github.com/ymd-h/cpprb/discussions"
[tool.setuptools]
packages = ["cpprb"]
package-dir = { "" = "src" }
include-package-data = false
[tool.cibuildwheel]
build = ["cp3{9,10,11,12,13}-{macosx_*,{win,????linux}_*64}"]
build-frontend = "build[uv]"
test-command = ["uv run python -m unittest discover {project}/test"]
test-requires = [
"gymnasium",
]
[[tool.cibuildwheel.overrides]]
select = "cp3{9,10,11,12}-{win,macosx,manylinux}_*"
inherit.test-requires = "append"
test-requires = "ray"
[[tool.cibuildwheel.overrides]]
select = "cp3{9,10,11,12}-{win,macosx,manylinux}_*"
inherit.test-requires = "append"
test-requires = "jax[cpu]"
[[tool.cibuildwheel.overrides]]
select = "cp3{9,10,11,12}-{macosx,manylinux}_*"
inherit.test-command = "append"
test-command = "uv run --with 'numpy<2.0' python -m unittest discover {project}/test"
[[tool.cibuildwheel.overrides]]
select = "cp3{9,10,11,12}-win_*"
inherit.test-command = "append"
test-command = "uv run --with numpy^<2.0 python -m unittest discover {project}/test"