@@ -803,15 +803,6 @@ def _create_batch_scripts_initial(self):
803
803
:pyqt5_conf_exist
804
804
805
805
806
- rem ******************
807
- rem handle pyqt5_tools if included
808
- rem ******************
809
- set tmp_pyz=%WINPYDIR%\Lib\site-packages\pyqt5_tools
810
- if not exist "%tmp_pyz%" goto end_pyqt5_tools_conf
811
- set QT_PLUGIN_PATH=%WINPYDIR%\Lib\site-packages\pyqt5_tools\Qt\plugins
812
- :end_pyqt5_tools_conf
813
-
814
-
815
806
rem ******************
816
807
rem WinPython.ini part (removed from nsis)
817
808
rem ******************
@@ -836,6 +827,7 @@ def _create_batch_scripts_initial(self):
836
827
echo #JULIA_EXE=julia.exe
837
828
echo #JULIA=%%JULIA_HOME%%%%JULIA_EXE%%
838
829
echo #JULIA_PKGDIR=%%WINPYDIRBASE%%\settings\.julia
830
+ echo #QT_PLUGIN_PATH=%%WINPYDIR%%\Lib\site-packages\pyqt5_tools\Qt\plugins
839
831
)>> "%winpython_ini%"
840
832
841
833
""" ,
@@ -933,15 +925,6 @@ def _create_batch_scripts_initial(self):
933
925
}
934
926
935
927
936
- #####################
937
- ### handle pyqt5_tools if included
938
- #####################
939
- $env:tmp_pyz = "$env:WINPYDIR\Lib\site-packages\pyqt5_tools"
940
- if (Test-Path "$env:tmp_pyz") {
941
- $env:QT_PLUGIN_PATH = "WINPYDIR\Lib\site-packages\pyqt5_tools\Qt\plugins"
942
- }
943
-
944
-
945
928
#####################
946
929
### WinPython.ini part (removed from nsis)
947
930
#####################
@@ -966,6 +949,7 @@ def _create_batch_scripts_initial(self):
966
949
"#JULIA_EXE=julia.exe" | Add-Content -Path $env:winpython_ini
967
950
"#JULIA=%%JULIA_HOME%%%%JULIA_EXE%%" | Add-Content -Path $env:winpython_ini
968
951
"#JULIA_PKGDIR=%%WINPYDIRBASE%%\settings\.julia" | Add-Content -Path $env:winpython_ini
952
+ "#QT_PLUGIN_PATH=%%WINPYDIR%%\Lib\site-packages\pyqt5_tools\Qt\plugins" | Add-Content -Path $env:winpython_ini
969
953
}
970
954
971
955
0 commit comments