Commit 0b0987ea authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(tox): add pypi-publish

--HG--
branch : 3.27
parent 255c5af726a8
Pipeline #38226 passed with stage
in 46 seconds
......@@ -66,4 +66,19 @@ ignore=D000,D001,D005
ignore-path=doc/_build
extension=.rst
[testenv:pypi-publish]
basepython = python3
skip_install = true
whitelist_externals = rm
deps =
twine
passenv =
TWINE_USERNAME
TWINE_PASSWORD
commands =
rm -rf build dist .egg .egg-info
python3 setup.py sdist bdist_wheel
twine check dist/*
twine upload --skip-existing dist/*
# vim: wrap sts=2 sw=2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment