Skip to content

Commit

Permalink
pkg: updated Pypi releasing to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Miksus committed Nov 24, 2021
1 parent 186cf20 commit 2436245
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,22 @@ commands = sphinx-build docs "{toxinidir}/docs/_build/html" --color -W -bhtml {p
description = build the package.
skip_install = true
# install_command = pip install --upgrade build
commands = python setup.py bdist_wheel
commands = python setup.py bdist_wheel sdist

[testenv:release]
description = build and release the package.
skip_install = true
deps =
twine
# install_command = pip install --upgrade build
commands = python setup.py bdist_wheel sdist
twine upload dist/*

[testenv:release-test]
description = build and release the package.
skip_install = true
deps =
twine
# install_command = pip install --upgrade build
commands = python setup.py bdist_wheel sdist
twine upload -r testpypi dist/*

0 comments on commit 2436245

Please sign in to comment.