Skip to content

Commit 5f30823

Browse files
committed
Conda recipe: switch to setup.py install to avoid PEP 517 metadata errors
1 parent e907cd2 commit 5f30823

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

conda-recipe/meta.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build:
2222
host:
2323
- python
2424
- pip
25+
- setuptools
2526
- scikit-build
2627
run:
2728
- python
@@ -33,12 +34,8 @@ build:
3334
cmake --build . --parallel ${CPU_COUNT:-1}
3435
cmake --install . --prefix $PREFIX
3536
cd ..
36-
python -m pip install . \
37-
--no-deps \
38-
--ignore-installed \
39-
--no-build-isolation \
40-
--no-use-pep517 \
41-
-vv
37+
# This bypasses PEP 517 and uses setuptools directly
38+
python setup.py install --single-version-externally-managed --record=record.txt
4239
4340
about:
4441
home: <PLACEHOLDER>

0 commit comments

Comments
 (0)