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 d2b72a4 commit e71fde6Copy full SHA for e71fde6
tox.ini
@@ -48,5 +48,21 @@ deps =
48
pep517
49
twine
50
commands =
51
+ python -c "from pathlib import Path; \
52
+ [x.unlink(missing_ok=True) for x in Path('{toxinidir}/dist').glob('*')]"
53
python -m pep517.build -s -b {toxinidir} -o {toxinidir}/dist
54
twine check {toxinidir}/dist/*
55
+
56
+[testenv:release]
57
+description = Make a release; must be called after "build"
58
+skip_install = True
59
+deps =
60
+ twine
61
+depends =
62
+ build
63
+passenv =
64
+ TWINE_*
65
+commands =
66
+ twine check {toxinidir}/dist/*
67
+ twine upload {toxinidir}/dist/* \
68
+ {posargs:-r testpypi --non-interactive}
0 commit comments