if not os.path.isdir(filename):
lst.append( locale_template % (filename, pkgdir, dirname) )
- os.path.walk('wx\\locale', walk_helper, stringlst)
+ os.path.walk('wx\\i18n', walk_helper, stringlst)
return '\n'.join(stringlst)
runtime_template = 'Source: "%s"; DestDir: "{code:GetPythonDir}"; CopyMode: alwaysskipifsameorolder; Flags: uninsneveruninstall; Components: core'
def get_runtime_dlls(PYVER):
- if PYVER == "py24":
+ if PYVER >= "py24":
source = [ r"distrib\msw\msvcr71.dll",
r"distrib\msw\msvcp71.dll" ]
else:
SYSDIR = %(SYSDIR)s
""" % vars()
- if PYTHONVER >= "2.4":
- IF22 = r"InstallDir := InstallDir + 'Lib\site-packages';"
- elif PYTHONVER >= "2.2":
+ if PYTHONVER >= "2.2":
IF22 = r"InstallDir := InstallDir + '\Lib\site-packages';"
else:
IF22 = ""