예제 #1
0
    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)
예제 #2
0
 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)
예제 #3
0
    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)
예제 #4
0
    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)
예제 #5
0
 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'))
예제 #6
0
 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)
예제 #7
0
    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)
예제 #8
0
    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)
예제 #9
0
    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)
예제 #10
0
    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)
예제 #11
0
 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)
예제 #12
0
    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)
예제 #13
0
    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)
예제 #14
0
 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)        
예제 #15
0
    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)
예제 #16
0
 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)
예제 #17
0
 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)
예제 #18
0
 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)
예제 #19
0
 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)