@@ -145,10 +145,10 @@ def update(self, update_info : UpdateInfo):
145
145
setup_deps_pkgs .append (pkgs_info [dep ])
146
146
147
147
requirements_path = os .path .join (
148
- update_info .packages_dir , "python_pkgs_%d.txt" % (
148
+ update_info .deps_dir , "python_pkgs_%d.txt" % (
149
149
len (python_requirements_paths )+ 1 ))
150
150
self ._write_requirements_txt (
151
- update_info .packages_dir ,
151
+ update_info .deps_dir ,
152
152
setup_deps_pkgs ,
153
153
requirements_path )
154
154
python_requirements_paths .append (requirements_path )
@@ -162,11 +162,11 @@ def update(self, update_info : UpdateInfo):
162
162
163
163
if len (python_pkgs ) > 0 :
164
164
requirements_path = os .path .join (
165
- update_info .packages_dir , "python_pkgs_%d.txt" % (
165
+ update_info .deps_dir , "python_pkgs_%d.txt" % (
166
166
len (python_requirements_paths )+ 1 ))
167
167
168
168
self ._write_requirements_txt (
169
- update_info .packages_dir ,
169
+ update_info .deps_dir ,
170
170
python_pkgs ,
171
171
requirements_path )
172
172
python_requirements_paths .append (requirements_path )
@@ -197,9 +197,9 @@ def update(self, update_info : UpdateInfo):
197
197
198
198
if len (python_pkgs ):
199
199
requirements_path = os .path .join (
200
- packages_dir , "python_pkgs_%d.txt" % (len (python_requirements_paths )+ 1 ))
200
+ deps_dir , "python_pkgs_%d.txt" % (len (python_requirements_paths )+ 1 ))
201
201
self ._write_requirements_txt (
202
- packages_dir ,
202
+ deps_dir ,
203
203
python_pkgs ,
204
204
requirements_path )
205
205
python_requirements_paths .append (requirements_path )
@@ -214,12 +214,12 @@ def update(self, update_info : UpdateInfo):
214
214
note ("Installing Python dependencies in %d phases" % len (python_requirements_paths ))
215
215
for reqfile in python_requirements_paths :
216
216
cwd = os .getcwd ()
217
- os .chdir (os .path .join (packages_dir ))
217
+ os .chdir (os .path .join (deps_dir ))
218
218
cmd = [
219
- get_venv_python (os .path .join (packages_dir , "python" )),
219
+ get_venv_python (os .path .join (deps_dir , "python" )),
220
220
"-m" ,
221
221
"ivpm.pywrap" ,
222
- get_venv_python (os .path .join (packages_dir , "python" )),
222
+ get_venv_python (os .path .join (deps_dir , "python" )),
223
223
"-m" ,
224
224
"pip" ,
225
225
"install" ,
0 commit comments