We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f1230 commit 1640734Copy full SHA for 1640734
tox.ini
@@ -44,15 +44,17 @@ commands = {posargs}
44
45
[testenv:build]
46
deps =
47
+ build
48
wheel
49
commands =
- python setup.py sdist bdist_wheel
50
+ python -m build
51
52
[testenv:release]
53
54
{[testenv:build]deps}
55
twine>=1.4.0
56
57
+ python -c 'import shutil; shutil.rmtree("dist/", ignore_errors=True); shutil.rmtree("build/", ignore_errors=True)'
58
{[testenv:build]commands}
59
twine upload {posargs:--skip-existing dist/*}
60
0 commit comments