Skip to content
Snippets Groups Projects

chore(tox): add pypi-publish

Merged Laurent Peuch requested to merge topic/default/pypi-publish into branch/default
1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
+ 15
0
@@ -6,3 +6,18 @@
deps = -rrequirements-test.txt
commands =
{envpython} -c 'from logilab.common import pytest; pytest.run()' -t test {posargs}
[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/*
Loading