X Tutup
Skip to content

Commit bca13b4

Browse files
committed
remove legacy packing in wppm (missed part)
1 parent 41c8dbd commit bca13b4

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

winpython/wppm.py

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -501,24 +501,6 @@ def uninstall(self, package):
501501
# no more legacy, no package are installed by old non-pip means
502502
self._print_done()
503503

504-
def install_bdist_wininst(self, package):
505-
"""Install a distutils package built with the bdist_wininst option
506-
(binary distribution, .exe file)"""
507-
self._print(package, "Extracting")
508-
targetdir = utils.extract_archive(package.fname)
509-
self._print_done()
510-
511-
self._print(package, "Installing %s from " % targetdir)
512-
self.copy_files(package, targetdir, 'PURELIB',
513-
osp.join('Lib', 'site-packages'))
514-
self.copy_files(package, targetdir, 'PLATLIB',
515-
osp.join('Lib', 'site-packages'))
516-
self.copy_files(package, targetdir, 'SCRIPTS', 'Scripts',
517-
create_bat_files=True)
518-
self.copy_files(package, targetdir, 'DLLs', 'DLLs')
519-
self.copy_files(package, targetdir, 'DATA', '.')
520-
self._print_done()
521-
522504
def install_bdist_direct(self, package, install_options=None):
523505
"""Install a package directly !"""
524506
self._print(package, "Installing %s" % package.fname.split(".")[-1])
@@ -546,29 +528,6 @@ def install_script(self, script, install_options=None):
546528
raise
547529

548530

549-
def install_nsis_package(self, package):
550-
"""Install a Python package built with NSIS (e.g. PyQt or PyQwt)
551-
(binary distribution, .exe file)"""
552-
bname = osp.basename(package.fname)
553-
assert bname.startswith(self.NSIS_PACKAGES)
554-
self._print(package, "Extracting")
555-
targetdir = utils.extract_exe(package.fname)
556-
self._print_done()
557-
558-
self._print(package, "Installing")
559-
self.copy_files(package, targetdir, 'Lib', 'Lib')
560-
if bname.startswith('PyQt5'):
561-
# PyQt5
562-
outdir = osp.join('Lib', 'site-packages', 'PyQt5')
563-
elif bname.startswith('PyQt'):
564-
# PyQt4
565-
outdir = osp.join('Lib', 'site-packages', 'PyQt4')
566-
else:
567-
# Qwt5
568-
outdir = osp.join('Lib', 'site-packages', 'PyQt4', 'Qwt5')
569-
self.copy_files(package, targetdir, '$_OUTDIR', outdir)
570-
self._print_done()
571-
572531
def main(test=False):
573532
if test:
574533
sbdir = osp.join(osp.dirname(__file__),

0 commit comments

Comments
 (0)
X Tutup