Commit a9d3bfb8 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

Merge branch 'topic/default/pypi-publish' into 'branch/default'

chore(tox): add pypi-publish

See merge request !3
......@@ -18,3 +18,18 @@ commands = flake8
[flake8]
exclude = cubicweb_tsgen/migration/*,test/data/*,.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