Drop custom code.
This commit is contained in:
parent
b3a9fc3aac
commit
40aa791ec1
1 changed files with 0 additions and 17 deletions
|
@ -181,23 +181,6 @@ class SetupPy(BuildSystem):
|
|||
setup_cfg_contents = f.read()
|
||||
except FileNotFoundError:
|
||||
setup_cfg_contents = ""
|
||||
if "setuptools" in setup_py_contents:
|
||||
logging.debug("Reference to setuptools found, installing.")
|
||||
resolver.install([PythonPackageRequirement("setuptools")])
|
||||
if (
|
||||
"setuptools_scm" in setup_py_contents
|
||||
or "setuptools_scm" in setup_cfg_contents
|
||||
):
|
||||
logging.debug("Reference to setuptools-scm found, installing.")
|
||||
resolver.install(
|
||||
[
|
||||
PythonPackageRequirement("setuptools_scm"),
|
||||
BinaryRequirement("git"),
|
||||
BinaryRequirement("hg"),
|
||||
]
|
||||
)
|
||||
|
||||
# TODO(jelmer): Install setup_requires
|
||||
|
||||
def test(self, session, resolver, fixers):
|
||||
self.setup(resolver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue