Skip to content

Commit cb0e92a

Browse files
committed
fix: build setting for CI
1 parent 859db34 commit cb0e92a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

pyproject.toml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,16 @@ authors = [
1212
requires-python = ">=3.8"
1313

1414
[build-system]
15-
# setuptools reads metadata from [project]; your setup.py just defines the CMake build.
15+
# setuptools reads metadata from [project]; setup.py drives CMake directly.
1616
requires = [
1717
"setuptools>=68",
1818
"wheel",
19-
"numpy",
20-
# Optional but helpful so pip can provide a CMake/Ninja during build:
21-
"cmake>=3.21",
2219
]
2320
build-backend = "setuptools.build_meta"
2421

2522
[tool.cibuildwheel]
2623
archs = "x86_64 arm64" # Build for both architectures
2724

28-
[tool.scikit-build]
29-
wheel.expand-macos-universal-tags = true
30-
minimum-version = "build-system.requires"
31-
cmake.configure-args = [
32-
"-DCMAKE_CXX_STANDARD=14",
33-
"-DCMAKE_CXX_STANDARD_REQUIRED=ON",
34-
"-DCMAKE_CXX_FLAGS=-O3", # Or "-DCMAKE_CXX_FLAGS_RELEASE=-O3" for Release builds
35-
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
36-
]
37-
3825
[tool.setuptools]
3926
zip-safe = false
4027

0 commit comments

Comments
 (0)