diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-12-12 17:08:36 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-12-12 19:19:18 -0500 |
commit | a8bca166266fa2eeab931f6f20eef8e50048dddf (patch) | |
tree | 6c1ad883eaf4ad0b79fd56fe327bf8d041fa65f2 /tox.ini | |
parent | 32b254dee01b5ef2b695ae04889af482c6cb28c3 (diff) | |
download | pytest-runner-a8bca166266fa2eeab931f6f20eef8e50048dddf.tar.gz |
Add support for cutting releases without DPL and using pep517.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -17,3 +17,18 @@ extras = changedir = docs commands = python -m sphinx . {toxinidir}/build/html + +[testenv:release] +skip_install = True +# workaround for pep517 build support +install_command = python install-pip-master.py {opts} {packages} +deps = + # pull from feature branch for feature + git+https://github.com/pypa/pep517@feature/build-command + # workaround for https://github.com/pypa/twine/issues/423 + git+https://github.com/pypa/twine + path.py +commands = + python -c "import path; path.Path('dist').rmtree_p()" + python -m pep517.build . + python -m twine upload dist/* |