Ejemplo n.º 1
0
        def run(self):
            # generate an initial database file
            try:
                os.remove("luminotes.db")
            except OSError:
                pass

            from tools import initdb
            initdb.main(("-l", ))

            # copy the README and COPYING files to have ".txt" extensions and Windows newlines
            self.copy_doc("README")
            self.copy_doc("COPYING")

            # First, let py2exe do it's work.
            py2exe.run(self)

            lib_dir = self.lib_dir
            dist_dir = self.dist_dir

            # create the Installer, using the files py2exe has created.
            script = InnoScript("Luminotes",
                                lib_dir,
                                dist_dir,
                                self.windows_exe_files,
                                self.lib_files,
                                version=VERSION)
            print "*** creating the inno setup script***"
            script.create()
            print "*** compiling the inno setup script***"
            script.compile()
Ejemplo n.º 2
0
        def run(self):
            # generate an initial database file
            try:
                os.remove("luminotes.db")
            except OSError:
                pass

            from tools import initdb

            initdb.main(("-l",))

            # copy the README and COPYING files to have ".txt" extensions and Windows newlines
            self.copy_doc("README")
            self.copy_doc("COPYING")

            # First, let py2exe do it's work.
            py2exe.run(self)

            lib_dir = self.lib_dir
            dist_dir = self.dist_dir

            # create the Installer, using the files py2exe has created.
            script = InnoScript("Luminotes", lib_dir, dist_dir, self.windows_exe_files, self.lib_files, version=VERSION)
            print "*** creating the inno setup script***"
            script.create()
            print "*** compiling the inno setup script***"
            script.compile()
Ejemplo n.º 3
0
Archivo: setup.py Proyecto: umax/pomni
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     lib_dir = self.lib_dir
     dist_dir = self.dist_dir
     # Prepare to install translations. These need to be installed outside of
     # the zipped archive.
     join = os.path.join
     pyqt_ui_dir = join("mnemosyne", "pyqt_ui")
     locale_dir = join(pyqt_ui_dir, "locale")
     os.mkdir(join(dist_dir, "locale"))
     self.qm_files = []
     for p in os.listdir(locale_dir):
         if p.endswith(".qm"):
             src = join(os.path.abspath(locale_dir), p)
             dest = join(join(dist_dir, "locale"), p)
             shutil.copy(src, dest)
             self.qm_files.append(dest)
     # Create the Installer, using the files py2exe has created.
     script = InnoScript(
         "Mnemosyne",
         lib_dir,
         dist_dir,
         self.windows_exe_files,
         self.lib_files,
         self.qm_files,
         version=mnemosyne.version.version,
     )
     script.create()
     script.compile()
Ejemplo n.º 4
0
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     from pprint import pprint
     print "#" * 79
     print "#" * 79
     pprint(vars(self))
Ejemplo n.º 5
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        # create the Installer, using the files py2exe has created.
        script = InnoScript("Mental Calculation", self.lib_dir, self.dist_dir,
                            self.windows_exe_files, self.lib_files)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 6
0
    def run(self):
        py2exe.run(self)

        # create the Installer, using the files py2exe has created.
        script = InnoScript("Fractal Fr0st", self.lib_dir, self.dist_dir,
                            self.windows_exe_files + self.console_exe_files,
                            self.lib_files)

        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 7
0
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     lib_dir = self.lib_dir
     dist_dir = self.dist_dir
     # Create the Installer, using the files py2exe has created.
     # Hack to include web server, which does not seem to get picked up
     # automatically.
     script = InnoScript("Mnemosyne", lib_dir, dist_dir,
                         self.windows_exe_files, self.lib_files,
                         version=mnemosyne.version.version)
     script.create()
     script.compile()
    def run(self):
        # First, let py2exe do its work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir

        # create the Installer, using the files py2exe has created.
        script = InnoScript("CAPS Scenario Builder", lib_dir, dist_dir, self.windows_exe_files, self.lib_files)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 9
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir

        # create the Installer, using the files py2exe has created.
        script = InnoScript("UliPad", lib_dir, dist_dir,
                            self.windows_exe_files, self.lib_files, version)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 10
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        # create the Installer, using the files py2exe has created.
        script = InnoScript("Mental Calculation",
                self.lib_dir,
                self.dist_dir,
                self.windows_exe_files,
                self.lib_files)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 11
0
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     
     # create the Installer, using the files py2exe has created.
     script = InnoScript(name="Flax Basic",
                         this_dir=os.getcwd(),
                         versionstring=version.get_version_string(),
                         publisher="Lemur Consulting Ltd",
                         homepage="http://www.flax.co.uk",
                         licensefile="gpl.txt")
     print "*** Creating the inno setup script***"
     script.create()
     print "*** Compiling the inno setup script***"
     script.compile()
Ejemplo n.º 12
0
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     lib_dir = self.lib_dir
     dist_dir = self.dist_dir
     # Create the Installer, using the files py2exe has created.
     # Hack to include web server, which does not seem to get picked up
     # automatically.
     script = InnoScript("Mnemosyne",
                         lib_dir,
                         dist_dir,
                         self.windows_exe_files,
                         self.lib_files,
                         version=mnemosyne.version.version)
     script.create()
     script.compile()
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
        
        # create the Installer, using the files py2exe has created.
        script = InnoScript("OpenOceanMap Loreto Bay",
                            lib_dir,
                            dist_dir,
                            self.windows_exe_files,
                            self.lib_files)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 14
0
 def run(self):
     # First, let py2exe do it's work.
     py2exe.run(self)
     
     # create the Installer, using the files py2exe has created.
     script = InnoScript(APP_NAME,
                         APP_VERSION,
                         self.lib_dir,
                         self.dist_dir,
                         self.windows_exe_files,
                         self.lib_files,
                         )
     print "*** creating the inno setup script***"
     script.create("dist\\" + APP_NAME + ".iss")
     print "*** compiling the inno setup script***"
     script.compile()
     print "OK! By default the final setup.exe will be in an Output subdirectory."
Ejemplo n.º 15
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
        
        # create the Installer, using the files py2exe has created.
        script = InnoScript(appname,
                            lib_dir,
                            dist_dir,
                            self.windows_exe_files,
                            self.lib_files,
                            version = appversion)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 16
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
        ##         for key in dir(self.distribution.metadata):
        ##             print key, getattr(self.distribution.metadata, key)

        # create the Installer, using the files py2exe has created.
        script = InnoScript(self.distribution.metadata.name, lib_dir, dist_dir,
                            self.windows_exe_files, self.lib_files,
                            self.distribution.metadata.version)
        print "*** creating the inno setup script***"
        script.create("%s\\%s.iss" %
                      (dist_dir, self.distribution.metadata.name))
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 17
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
        
        # create the Installer, using the files py2exe 
        # has created.
        script = InnoScript("Hello",
                            lib_dir,
                            dist_dir,
                            self.console_exe_files,
                            self.lib_files,
                            __version__)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 18
0
  def run(self):
    # First, let py2exe do it's work.
    py2exe.run(self)

    lib_dir = self.lib_dir
    dist_dir = self.dist_dir

    print "===================="
    print self.windows_exe_files
    print "===================="
    print self.lib_files
    print "===================="

    # create the Installer, using the files py2exe has created.
    script = InnoScript("i_track", lib_dir, dist_dir, self.windows_exe_files,
                        self.lib_files)
    print "*** creating the inno setup script***"
    script.create()
    print "*** compiling the inno setup script***"
    script.compile()
Ejemplo n.º 19
0
Archivo: setup.py Proyecto: dwd/Polymer
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir

        
        
        # create the Installer, using the files py2exe has created.
        script = InnoScript("Infotrope Polymer",
                            lib_dir,
                            dist_dir,
                            self.windows_exe_files,
                            self.console_exe_files,
                            self.lib_files)
        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 20
0
    def run(self):
        # First, let py2exe do it's work.
        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
##         for key in dir(self.distribution.metadata):
##             print key, getattr(self.distribution.metadata, key)
        
        # create the Installer, using the files py2exe has created.
        script = InnoScript(self.distribution.metadata.name,
                            lib_dir,
                            dist_dir,
                            self.windows_exe_files,
                            self.lib_files,
                            self.distribution.metadata.version)
        print "*** creating the inno setup script***"
        script.create("%s\\%s.iss" % (dist_dir, self.distribution.metadata.name))
        print "*** compiling the inno setup script***"
        script.compile()
Ejemplo n.º 21
0
    def run(self):
        build = self.reinitialize_command('build')
        build.run()
        sys_old_path = sys.path[:]
        if build.build_platlib is not None:
            sys.path.insert(0, build.build_platlib)
        if build.build_lib is not None:
            sys.path.insert(0, build.build_lib)
        try:
            self._run()
        finally:
            sys.path = sys_old_path

        # py2exe can't seem to find the extensions unless they're inplace
        extensions = glob.glob('build/*/%s/*.pyd' % fr0st_package_name)

        # copy them all over
        for ext in extensions:
            shutil.copy(ext, fr0st_package_name)

        py2exe.run(self)

        lib_dir = self.lib_dir
        dist_dir = self.dist_dir
        
        # create the Installer, using the files py2exe has created.
        script = InnoScript("fr0st",
                            lib_dir,
                            dist_dir,
                            self.windows_exe_files + self.console_exe_files,
                            self.lib_files)

        print "*** creating the inno setup script***"
        script.create()
        print "*** compiling the inno setup script***"
        script.compile()