Commit f4349394 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

chore: add tox rule pypi-publish

parent 2e0507dfaf27
......@@ -41,3 +41,18 @@ ignore = W503
[pytest]
python_files = *test_*.py
[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