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]
requires = [
# sync with setup.py until we discard non-pep-517/518
"setuptools>=30.3",
"setuptools>=40.0",
"setuptools-scm",
"wheel",
]

View File

@ -26,7 +26,7 @@ if "_PYTEST_SETUP_SKIP_PLUGGY_DEP" not in os.environ:
def main():
setup(
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"},
install_requires=INSTALL_REQUIRES,
)