Skip to content

Setup and Test Requirements considered harmful #71

@HolgerPeters

Description

@HolgerPeters

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions