Skip to content

Commit fcb57a4

Browse files
committed
Add pyproject.toml so pip metadata finds scikit-build; keep scikit-build in Conda recipe
1 parent 5f30823 commit fcb57a4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

conda-recipe/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ build:
3434
cmake --build . --parallel ${CPU_COUNT:-1}
3535
cmake --install . --prefix $PREFIX
3636
cd ..
37-
# This bypasses PEP 517 and uses setuptools directly
3837
python setup.py install --single-version-externally-managed --record=record.txt
3938
4039
about:

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[build-system]
2-
requires = ["scikit-build", "cmake", "setuptools"]
2+
requires = [
3+
"setuptools>=42",
4+
"scikit-build>=0.13",
5+
"cmake>=3.18"
6+
]
37
build-backend = "setuptools.build_meta"
48

59
[project]

0 commit comments

Comments
 (0)