Skip to content

Commit 310e0a5

Browse files
FFY00pganssle
authored andcommitted
Build wheel from sdist
Starting in version 0.5.0, the default behavior of `pypa/build` is to first build the sdist, then to buil a wheel from the sdist, see: https://pypa-build.readthedocs.io/en/latest/changelog.html#id10 If you specify `-s -w`, both will be built from the local directory. Since the sdist is the correct release artifact from which to build wheels, the default behavior is preferred.
1 parent 7f94be4 commit 310e0a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ deps =
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 build -s -w -o {toxinidir}/dist {toxinidir}
81+
python -m build -o {toxinidir}/dist {toxinidir}
8282
twine check {toxinidir}/dist/*
8383

8484
[testenv:release]

0 commit comments

Comments
 (0)