File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1136,6 +1136,12 @@ def _create_batch_scripts_initial(self):
1136
1136
1137
1137
:after_pyzo_conf
1138
1138
1139
+ rem ******************
1140
+ rem handle dying pipdeptree if included
1141
+ rem ******************
1142
+ set tmp_pyz=%WINPYDIR%\Lib\site-packages\pipdeptree.py
1143
+ if exist "%tmp_pyz%" set _PIP_USE_IMPORTLIB_METADATA=0
1144
+
1139
1145
1140
1146
rem ******************
1141
1147
rem WinPython.ini part (removed from nsis)
@@ -1293,6 +1299,16 @@ def _create_batch_scripts_initial(self):
1293
1299
gui = 'none'| Add-Content -Path $env:tmp_pyz
1294
1300
}
1295
1301
1302
+
1303
+ #####################
1304
+ ### handle dying pipdeptree if included
1305
+ #####################
1306
+ $env:tmp_pyz = "$env:WINPYDIR\Lib\site-packages\pipdeptree.py"
1307
+ if (Test-Path "$env:tmp_pyz") {
1308
+ $env:_PIP_USE_IMPORTLIB_METADATA=0
1309
+ }
1310
+
1311
+
1296
1312
#####################
1297
1313
### WinPython.ini part (removed from nsis)
1298
1314
#####################
You can’t perform that action at this time.
0 commit comments