@@ -247,8 +247,6 @@ def __init__(
247
247
r"python-([0-9\.rcba]*)((\.|\-)amd64)?\.(zip|zip)"
248
248
)
249
249
self .python_name = Path (self .python_fname ).name [:- 4 ]
250
- self .distname = "winUNKNOWN"
251
- self .python_fullversion = "winUNKNOWN"
252
250
253
251
@property
254
252
def package_index_wiki (self ):
@@ -277,8 +275,6 @@ def get_tool_path_dir(relpath):
277
275
if Path (path ).is_dir ():
278
276
return path
279
277
280
- if get_tool_path_file (r"\t\SciTE.exe" ):
281
- installed_tools += [("SciTE" , "3.3.7" )]
282
278
juliapath = get_tool_path_dir (self .JULIA_PATH )
283
279
if juliapath is not None :
284
280
juliaver = utils .get_julia_version (juliapath )
@@ -371,7 +367,6 @@ def prepath(self):
371
367
"""Return PATH contents to be prepend to the environment variable"""
372
368
path = [
373
369
r"Lib\site-packages\PyQt5" ,
374
- r"Lib\site-packages\PySide2" ,
375
370
"" , # Python root directory
376
371
"DLLs" ,
377
372
"Scripts" ,
@@ -776,19 +771,6 @@ def _create_batch_scripts_initial(self):
776
771
if exist "%WINPYDIR%\Lib\site-packages\PyQt5\__init__.py" set QT_API=pyqt5
777
772
778
773
779
- rem ******************
780
- rem handle PySide2 if included
781
- rem ******************
782
- set tmp_pyz=%WINPYDIR%\Lib\site-packages\PySide2
783
- if not exist "%tmp_pyz%" goto pyside2_conf_exist
784
- set tmp_pyz=%tmp_pyz%\qt.conf
785
- if not exist "%tmp_pyz%" (
786
- echo [Paths]
787
- echo Prefix = .
788
- echo Binaries = .
789
- )>> "%tmp_pyz%"
790
- :pyside2_conf_exist
791
-
792
774
rem ******************
793
775
rem handle PyQt5 if included
794
776
rem ******************
@@ -897,20 +879,6 @@ def _create_batch_scripts_initial(self):
897
879
if (Test-Path "$env:WINPYDIR\Lib\site-packages\PyQt5\__init__.py") { $env:QT_API = "pyqt5" }
898
880
899
881
900
- #####################
901
- ### handle PySide2 if included
902
- #####################
903
-
904
- $env:tmp_pyz = "$env:WINPYDIR\Lib\site-packages\PySide2"
905
- if (Test-Path "$env:tmp_pyz") {
906
- $env:tmp_pyz = "$env:tmp_pyz\qt.conf"
907
- if (-not (Test-Path "$env:tmp_pyz")) {
908
- "[Paths]"| Add-Content -Path $env:tmp_pyz
909
- "Prefix = ."| Add-Content -Path $env:tmp_pyz
910
- "Binaries = ."| Add-Content -Path $env:tmp_pyz
911
- }
912
- }
913
-
914
882
#####################
915
883
### handle PyQt5 if included
916
884
#####################
@@ -1476,11 +1444,9 @@ def make(
1476
1444
print (
1477
1445
self .python_fname ,
1478
1446
self .python_name ,
1479
- self .distname ,
1480
- self .python_fullversion , # PyPy to delete or move
1481
1447
)
1482
1448
if my_winpydir is None :
1483
- self . winpydir = str ( Path ( self . target ) / self . distname ) # PyPy to delete
1449
+ raise RuntimeError ( "WinPython base directory to create is undefined" )
1484
1450
else :
1485
1451
self .winpydir = str (
1486
1452
Path (self .target ) / my_winpydir
0 commit comments