Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/d/i/digsby-HEAD/installer/py2exe/py2exe/build_exe.py   digsby(Download)
    def patch_python_dll_winver(self, dll_name, new_winver = None):
        from py2exe.resources.StringTables import StringTable, RT_STRING
        from py2exe_util import add_resource
 
        new_winver = new_winver or self.distribution.metadata.name or "py2exe"
            print "WARNING: File %s could not be opened - %s" % (dll_name, why)
        # OK - do it.
        s = StringTable()
        # 1000 is the resource ID Python loads for its winver.
        s.add_string(1000, new_winver)

src/f/e/FeedNotifier-HEAD/patch/build_exe.py   FeedNotifier(Download)
    def patch_python_dll_winver(self, dll_name, new_winver = None):
        from py2exe.resources.StringTables import StringTable, RT_STRING
        from py2exe_util import add_resource, load_resource
        from py2exe.resources.VersionInfo import RT_VERSION
 
 
        # OK - do the strings.
        s = StringTable()
        # 1000 is the resource ID Python loads for its winver.
        s.add_string(1000, new_winver)