-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (49 loc) · 1.6 KB
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
[build-system]
requires = [
"scikit-build-core>=0.10",
"pybind11>=2.10",
]
build-backend = "scikit_build_core.build"
[project]
name = "nwqec"
version = "0.1.1"
description = "NWQEC: C++ quantum circuit transpiler with Python bindings"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [{ name = "NWQEC Authors" }]
keywords = ["quantum", "transpiler", "circuits", "clifford", "t"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
Homepage = "https://github.com/pnnl/nwqec"
Repository = "https://github.com/pnnl/nwqec"
Issues = "https://github.com/pnnl/nwqec/issues"
[tool.scikit-build]
cmake.minimum-version = "3.16"
cmake.build-type = "Release"
build-dir = "skbuild/{wheel_tag}"
wheel.expand-macos-universal-tags = true
wheel.packages = ["python/nwqec"]
logging.level = "INFO"
[tool.scikit-build.cmake.define]
NWQEC_BUILD_PYTHON = true
[tool.cibuildwheel]
# Build wheels for these platforms
build = [
"cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"
]
skip = [
"*-win*", # Skip all Windows (not supported yet)
"*-musllinux_*", # Skip musl Linux (Alpine)
]
# Platform-specific settings
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0" }
# Test the built wheels
test-command = "python -c 'import nwqec; print(\"Version:\", nwqec.__version__); print(\"WITH_GRIDSYNTH_CPP:\", nwqec.WITH_GRIDSYNTH_CPP)'"
test-skip = "cp38-macosx_*:arm64" # Skip Python 3.8 ARM64 testing (known cibuildwheel limitation)