1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Fixed 32bit Windows packaging for Python 3.3

Python 3.3 is compiled with VS2010, and the old VS2008 pre-requisite
scheme doesn't work anymore. We now do like with 64bit, include the DLLs
directly in the package.
This commit is contained in:
Virgil Dupras
2013-08-17 14:48:36 -04:00
parent 39d24817f6
commit d8f48cbd42
4 changed files with 43 additions and 215 deletions

View File

@@ -69,11 +69,9 @@ def package_windows(edition, dev):
locale_path = op.join('build', 'locale')
print("Copying {} to dist\\locale".format(locale_path))
shutil.copytree(locale_path, op.join(distdir, 'locale'))
if is64bit:
# In 64bit mode, we don't install the VC redist as a prerequisite. We just bundle the
# appropriate dlls.
shutil.copy(find_in_path('msvcr100.dll'), distdir)
shutil.copy(find_in_path('msvcp100.dll'), distdir)
# We don't install the VC redist as a prerequisite. We just bundle the appropriate dlls.
shutil.copy(find_in_path('msvcr100.dll'), distdir)
shutil.copy(find_in_path('msvcp100.dll'), distdir)
# AdvancedInstaller.com has to be in your PATH
# this is so we don'a have to re-commit installer.aip at every version change