Bug 1730712: Remove unused `exe_info_path` from `VirtualenvManager` r=ahal

The information about the Python executable is now stored with other
details in the JSON metadata file we put in each virtualenv.

Differential Revision: https://phabricator.services.mozilla.com/D129689
This commit is contained in:
Mitchell Hentges 2021-11-17 20:54:25 +00:00
Родитель 8f554a6da0
Коммит 2a5538b2f1
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -90,11 +90,6 @@ class MozSiteManager:
os.environ.pop("__PYVENV_LAUNCHER__", None)
self.topsrcdir = topsrcdir
# Record the Python executable that was used to create the virtualenv
# so we can check this against sys.executable when verifying the
# integrity of the virtualenv.
self.exe_info_path = os.path.join(self.virtualenv_root, "python_exe.txt")
self._site_name = site_name
self._manifest_path = manifest_path or os.path.join(
topsrcdir, "build", f"{site_name}_virtualenv_packages.txt"