Skip to content
Snippets Groups Projects
Commit d4dff1b8354f authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(tox): add pypi-publish

parent dfde01890c6c
No related branches found
No related tags found
1 merge request!9chore(tox): add pypi-publish
Pipeline #20346 passed
...@@ -32,4 +32,19 @@ ...@@ -32,4 +32,19 @@
deps = deps =
check-manifest check-manifest
commands = commands =
{envpython} -m check_manifest {toxinidir} {envpython} -m check_manifest {toxinidir}
\ No newline at end of file
[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/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment