Skip to content

Commit 7f94be4

Browse files
committed
Use pypa/build in favor of pep517.build
`pep517.build` is deprecated and has various bugs related to isolation, and `pypa/build` has matured quite a bit.
1 parent 70d1459 commit 7f94be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ commands =
7373
description = Build a wheel and source distribution
7474
skip_install = True
7575
deps =
76-
pep517
76+
build
7777
twine
7878
commands =
7979
python -c "from pathlib import Path; \
8080
[x.unlink(missing_ok=True) for x in Path('{toxinidir}/dist').glob('*')]"
81-
python -m pep517.build -s -b {toxinidir} -o {toxinidir}/dist
81+
python -m build -s -w -o {toxinidir}/dist {toxinidir}
8282
twine check {toxinidir}/dist/*
8383

8484
[testenv:release]

0 commit comments

Comments
 (0)