Commit 2ab60b5a authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(tox): add pypi-publish

parent 93bcc14970bb
Pipeline #35549 passed with stage
in 45 seconds
......@@ -58,3 +58,18 @@ python_files = *test_*.py
deps =
mypy >= 0.761
commands = mypy --ignore-missing-imports yams
[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/*
Markdown is supported
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