[Pytest-commit] Issue #232: dist creation commands (hpk42/tox)

Ronny Pfannschmidt issues-reply at bitbucket.org
Wed Mar 25 10:11:06 CET 2015


New issue 232: dist creation commands
https://bitbucket.org/hpk42/tox/issue/232/dist-creation-commands

Ronny Pfannschmidt:

in order to support creation/installation of wheels as well as custom distribton generators it seems sensible to add a global option for the sdist creation command

it should default to `python setup.py sdist` but allow people to override
with something like `python setup.py sdist bdist_wheel`

in addition a global option is required to check if all requirements for the sdist creation are availiable

i propose to add the keys

`dist_command` for the command and `dist_requires` for the requirements needed to create the distribution (this would also allow to add requirements for recent setuptoolsand setup time dependencies)

whether the implementation creates a virtualenv to install those or tells the user to do so is up for implementation

in case of virtualenv creation we can also support specifying exact/desired tox versions there




More information about the pytest-commit mailing list