fix #4177 - pin setuptools>=40.0

This commit is contained in:
Ronny Pfannschmidt 2018-10-17 20:08:07 +02:00
parent 93bdbf7572
commit 4f4c91caf5
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Pin ``setuptools>=40.0`` to support ``py_modules`` in ``setup.cfg``

View File

@ -1,7 +1,7 @@
[build-system] [build-system]
requires = [ requires = [
# sync with setup.py until we discard non-pep-517/518 # sync with setup.py until we discard non-pep-517/518
"setuptools>=30.3", "setuptools>=40.0",
"setuptools-scm", "setuptools-scm",
"wheel", "wheel",
] ]

View File

@ -26,7 +26,7 @@ if "_PYTEST_SETUP_SKIP_PLUGGY_DEP" not in os.environ:
def main(): def main():
setup( setup(
use_scm_version={"write_to": "src/_pytest/_version.py"}, use_scm_version={"write_to": "src/_pytest/_version.py"},
setup_requires=["setuptools-scm", "setuptools>=30.3"], setup_requires=["setuptools-scm", "setuptools>=40.0"],
package_dir={"": "src"}, package_dir={"": "src"},
install_requires=INSTALL_REQUIRES, install_requires=INSTALL_REQUIRES,
) )