Commit b5a965f1 authored by Laurent Peuch's avatar Laurent Peuch

chore(tox): add pypi-publish

parent e2404a8380e3
Pipeline #21344 passed with stage
in 1 minute and 15 seconds
......@@ -23,3 +23,18 @@ commands = {envpython} -m flake8 {toxinidir} {posargs}
[flake8]
max-line-length = 120
exclude = cubicweb_card/migration/*,.tox/*,
[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