##// END OF EJS Templates
packaging: don't use temporary directory...
Gregory Szorc -
r42079:5e923355 default
parent child Browse files
Show More
@@ -11,7 +11,6 import os
11 import pathlib
11 import pathlib
12 import shutil
12 import shutil
13 import subprocess
13 import subprocess
14 import tempfile
15
14
16 from .downloads import (
15 from .downloads import (
17 download_entry,
16 download_entry,
@@ -99,9 +98,6 def build(source_dir: pathlib.Path, buil
99 if not py2exe_source_path.exists():
98 if not py2exe_source_path.exists():
100 extract_zip_to_directory(py2exe_pkg, build_dir)
99 extract_zip_to_directory(py2exe_pkg, build_dir)
101
100
102 with tempfile.TemporaryDirectory() as td:
103 td = pathlib.Path(td)
104
105 if not venv_path.exists():
101 if not venv_path.exists():
106 print('creating virtualenv with dependencies')
102 print('creating virtualenv with dependencies')
107 subprocess.run(
103 subprocess.run(
General Comments 0
You need to be logged in to leave comments. Login now