mirror of https://github.com/pypa/pip
Add cleanup method to build_env
This commit is contained in:
parent
d0c42d3da3
commit
6a99774dd7
|
@ -62,3 +62,6 @@ class BuildEnvironment(object):
|
|||
os.environ.pop('PYTHONPATH', None)
|
||||
else:
|
||||
os.environ['PYTHONPATH'] = self.save_pythonpath
|
||||
|
||||
def cleanup(self):
|
||||
self._temp_dir.cleanup()
|
||||
|
|
Loading…
Reference in New Issue