Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(5) | Call(3) | Derive(0) | Import(2)
src/f/e/FeedNotifier-HEAD/patch/build_exe.py FeedNotifier(Download)
</assembly> """ from py2exe_util import load_resource if os.path.splitext(template)[1]==".exe": rid = 1 else: rid = 2 try: # Manfiests have resource type of 24, and ID of either 1 or 2. mfest = load_resource(ensure_unicode(template), RT_MANIFEST, rid)
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
# Preserve existing version info (all versions should have this) ver_info = load_resource(unicode_name, RT_VERSION, 1) # Preserve an existing manifest (only python26.dll+ will have this) try: # Manfiests have resource type of 24, and ID of either 1 or 2. mfest = load_resource(unicode_name, RT_MANIFEST, 2)