@@ -548,11 +548,6 @@ def _extract_python(self):
548548 # (on hold since 2017-02-16, http://bugs.python.org/issue29578)
549549 pypath_file = osp .join (self .python_dir , 'python_onHold._pth' )
550550 open (pypath_file , 'w' ).write ('python36.zip\n DLLs\n Lib\n .\n import site\n ' )
551- else :
552- utils .extract_msi (self .python_fname , targetdir = self .python_dir )
553- os .remove (osp .join (self .python_dir , osp .basename (self .python_fname )))
554- if not os .path .exists (osp .join (self .python_dir , 'Scripts' )):
555- os .mkdir (osp .join (self .python_dir , 'Scripts' ))
556551 self ._print_done ()
557552
558553 def _add_msvc_files (self ):
@@ -1392,7 +1387,7 @@ def make(self, remove_existing=True, requirements=None, my_winpydir=None): #, f
13921387 print ("WARNING: this is just a simulation!" , file = sys .stderr )
13931388
13941389 self .python_fname = self .get_package_fname (
1395- r'python-([0-9\.rcba]*)((\.|\-)amd64)?\.(msi |zip)' )
1390+ r'python-([0-9\.rcba]*)((\.|\-)amd64)?\.(zip |zip)' )
13961391 self .python_name = osp .basename (self .python_fname )[:- 4 ]
13971392 distname = 'win%s' % self .python_name
13981393 vlst = re .match (r'winpython-([0-9\.]*)' , distname
@@ -1602,7 +1597,7 @@ def make_all(build_number, release_level, pyver, architecture,
16021597
16031598 # extract the python subversion to get WPy64-3671b1
16041599 dist .python_fname = dist .get_package_fname (
1605- r'python-([0-9\.rcba]*)((\.|\-)amd64)?\.(msi |zip)' )
1600+ r'python-([0-9\.rcba]*)((\.|\-)amd64)?\.(zip |zip)' )
16061601 my_x = '' .join (dist .python_fname .replace ('.amd64' ,'' ).split ('.' )[- 2 :- 1 ])
16071602 while not my_x .isdigit () and len (my_x )> 0 :
16081603 my_x = my_x [:- 1 ]
0 commit comments