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]
|
||||
requires = [
|
||||
# sync with setup.py until we discard non-pep-517/518
|
||||
"setuptools>=30.3",
|
||||
"setuptools>=40.0",
|
||||
"setuptools-scm",
|
||||
"wheel",
|
||||
]
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue