Currently the setup.py that pyscaffold generates contains these lines:
setup(setup_requires=['six', 'pyscaffold>=2.4rc1,<2.5a0'] + sphinx,
tests_require=['pytest_cov', 'pytest'],
usage of setup_requires and tests_require is unfortunately a little problematic. Setuptools/distutils will install the packages listed there into the .eggs directory upon calling python setup.py develop and python setup.py test. Since the introduction of virtualenvs in the python workflows, one is probably more interested to use one virtualenv for developing and building the tool, and another one for running the tool that does not include the dev requirements.
Currently the setup.py that pyscaffold generates contains these lines:
usage of
setup_requiresandtests_requireis unfortunately a little problematic. Setuptools/distutils will install the packages listed there into the.eggsdirectory upon callingpython setup.py developandpython setup.py test. Since the introduction of virtualenvs in the python workflows, one is probably more interested to use one virtualenv for developing and building the tool, and another one for running the tool that does not include the dev requirements.