Commit 03574292 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

chore(tox): add pypi-publish

--HG--
branch : 0.1
parent e12b93a544e4
......@@ -40,3 +40,19 @@ max-line-length = 80
[pytest]
addopts = --doctest-modules
[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/
\ No newline at end of file
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