Skip to content

Commit 3f5edc7

Browse files
authored
Explicitly add setuptools to install_requires
Setuptools is used in `_pytest/config.py` but was not explicitly listed as requirement. This led to an error when creating a Conda package for pytest since setuptools is not necessarily installed by default in Conda envs.
1 parent da40bcf commit 3f5edc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def has_environment_marker_support():
4848

4949

5050
def main():
51-
install_requires = ['py>=1.4.29'] # pluggy is vendored in _pytest.vendored_packages
51+
install_requires = ['py>=1.4.29', 'setuptools'] # pluggy is vendored in _pytest.vendored_packages
5252
extras_require = {}
5353
if has_environment_marker_support():
5454
extras_require[':python_version=="2.6"'] = ['argparse']

0 commit comments

Comments
 (0)