def unpack(self): if os.path.exists(os.path.join(self.build_dir, 'PIL')): utils.output("%s already unpacked. Skipping." % BASENAME) return utils.output("Unpacking %s." % BASENAME) utils.unpack_build(self.archive_path)
def unpack(self): if os.path.exists(self.build_dir): utils.output("%s already unpacked. Skipping." % BASENAME) return utils.output("Unpacking %s." % BASENAME) utils.unpack_build(self.archive_path)
def unpack(self): if os.name == 'nt': utils.output('Skipping unpack (WINDOWS).') return if os.path.isdir(self.build_dir): utils.output("CMAKE source already unpacked, not redoing.") else: utils.output("Unpacking CMAKE source.") utils.unpack_build(self.afilename)
def unpack(self): if os.path.isdir(self.build_dir): utils.output("INSTALLER source already unpacked, not redoing.") else: utils.output("Unpacking INSTALLER source.") utils.unpack_build(self.tbfilename) # and we need to delete the irritating optparse.py from # the installer directory (it's only needed for older # pythons, and tends to break things in johannes) os.unlink(os.path.join(self.build_dir, 'optparse.py'))
def unpack(self): if os.path.exists(os.path.join(self.build_dir, "configure.exe")): utils.output("%s already unpacked. Skipping." % BASENAME) return utils.output("Unpacking %s." % BASENAME) utils.unpack_build(self.archive_path) # Rename the folder: shutil.move(os.path.join(config.build_dir, ARCHIVE_BASENAME), self.build_dir)
def unpack(self): # on posix, we have to unpack in the build directory as we're # actually going to compile. On Windows, we unpack binaries # in the install step. if os.name == "posix": if os.path.isdir(self.build_dir): utils.output("SWIG already unpacked, skipping step.") else: utils.output("Unpacking SWIG.") utils.unpack_build(self.archive_path)
def unpack(self): if os.path.isdir(self.build_dir): utils.output("SCIPY source already unpacked, not redoing.") return utils.output("Unpacking SCIPY source.") if os.name == 'posix': utils.unpack_build(self.tbfilename) else: os.mkdir(self.build_dir) os.chdir(self.build_dir) utils.unpack(self.tbfilename)
def unpack(self): if os.path.isdir(self.build_dir): utils.output("MATPLOTLIB source already unpacked, not redoing.") else: if os.name == 'posix': utils.output("Unpacking MATPLOTLIB source.") utils.unpack_build(self.tbfilename) else: utils.output("Unpacking MATPLOTLIB binaries.") os.mkdir(self.build_dir) os.chdir(self.build_dir) utils.unpack(self.tbfilename)
def unpack(self): if os.path.isdir(self.ipy_build_dir): utils.output('ipython source already unpacked.') else: utils.output('unpacking ipython source') utils.unpack_build(self.ipy_afilename) if os.name == 'nt': if os.path.isdir(self.pyrl_build_dir): utils.output('pyreadline already unpacked.') else: utils.output('unpacking pyreadline source.') utils.unpack_build(self.pyrl_afilename)
def unpack(self): if os.path.exists(os.path.join(self.build_dir, "configure.py")): utils.output("%s already unpacked. Skipping." % BASENAME) return utils.output("Unpacking %s." % BASENAME) utils.unpack_build(self.archive_path) # Rename the folder: shutil.move(os.path.join(config.build_dir, ARCHIVE_BASENAME), self.build_dir) # Remove the examples, because somehow it crashes the build on win64 folder = os.path.join(self.build_dir, 'examples') if os.path.exists(folder): shutil.rmtree(folder)
def unpack(self): if os.path.isdir(self.build_dir): utils.output("DCMTK source already unpacked, not redoing.") else: utils.output("Unpacking DCMTK source.") utils.unpack_build(self.tbfilename)
def unpack(self): if os.name == 'posix': if os.path.isdir(self.build_dir): utils.output("wxPython already unpacked, not redoing.") else: utils.unpack_build(self.afilename)