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

chore(tox): add pypi-publish

parent 6f47aa24f687
No related branches found
No related tags found
1 merge request!2chore(tox): add pypi-publish
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -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/*
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