mirror of https://github.com/pypa/pip
Remove intermediate pip-wheel-metadata dir
Previously this was located in the source directory itself, but now that we're using a temporary directory, there's no need for pip-wheel-metadata.
This commit is contained in:
parent
1c3f31ce14
commit
a0b75cc460
|
@ -591,14 +591,10 @@ class InstallRequirement(object):
|
||||||
assert self.pep517_backend is not None
|
assert self.pep517_backend is not None
|
||||||
|
|
||||||
# NOTE: This needs to be refactored to stop using atexit
|
# NOTE: This needs to be refactored to stop using atexit
|
||||||
temp_dir = TempDirectory(kind="modern-metadata")
|
metadata_tmpdir = TempDirectory(kind="modern-metadata")
|
||||||
atexit.register(temp_dir.cleanup)
|
atexit.register(metadata_tmpdir.cleanup)
|
||||||
|
|
||||||
metadata_dir = os.path.join(
|
metadata_dir = metadata_tmpdir.path
|
||||||
temp_dir.path,
|
|
||||||
'pip-wheel-metadata',
|
|
||||||
)
|
|
||||||
ensure_dir(metadata_dir)
|
|
||||||
|
|
||||||
with self.build_env:
|
with self.build_env:
|
||||||
# Note that Pep517HookCaller implements a fallback for
|
# Note that Pep517HookCaller implements a fallback for
|
||||||
|
|
Loading…
Reference in New Issue