8000 Add tox env for releasing the project · lnielsen/github3.py@f4e2a2d · GitHub
[go: up one dir, main page]

Skip to content

Commit f4e2a2d

Browse files
committed
Add tox env for releasing the project
1 parent cc8248f commit f4e2a2d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ deps =
2626
flake8-docstrings
2727
commands = flake8 {posargs} github3/ tests/unit/ tests/integration/
2828

29+
[testenv:release]
30+
deps =
31+
twine
32+
commands =
33+
python setup.py sdist
34+
pip wheel --wheel-dir dist/
35+
twine upload {posargs} dist/*
36+
2937
[pytest]
3038
addopts = -q
3139
norecursedirs = *.egg .git .* _*

0 commit comments

Comments
 (0)
0