fix #4177 - pin setuptools>=40.0
This commit is contained in:
parent
93bdbf7572
commit
4f4c91caf5
|
@ -0,0 +1 @@
|
||||||
|
Pin ``setuptools>=40.0`` to support ``py_modules`` in ``setup.cfg``
|
|
@ -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",
|
||||||
]
|
]
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue