File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1136,6 +1136,12 @@ def _create_batch_scripts_initial(self):
11361136
11371137:after_pyzo_conf
11381138
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+
11391145
11401146rem ******************
11411147rem WinPython.ini part (removed from nsis)
@@ -1293,6 +1299,16 @@ def _create_batch_scripts_initial(self):
12931299 gui = 'none'| Add-Content -Path $env:tmp_pyz
12941300}
12951301
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+
12961312#####################
12971313### WinPython.ini part (removed from nsis)
12981314#####################
You can’t perform that action at this time.
0 commit comments