Fix py2exe stuff.

This commit is contained in:
Bastian Kleineidam 2012-12-12 23:03:50 +01:00
parent 8b3747c13e
commit cfeba7a49f

View file

@ -27,12 +27,14 @@ AppVersion = '1.7'
AppName = 'Dosage' AppName = 'Dosage'
py_excludes = ['doctest', 'unittest', 'Tkinter', 'pdb', py_excludes = ['doctest', 'unittest', 'Tkinter', 'pdb',
'email', 'calendar', 'ftplib', 'pickle', 'email', 'ftplib', 'pickle',
] ]
py_includes = ['dosagelib.plugins.*']
# py2exe options for Windows packaging # py2exe options for Windows packaging
py2exe_options = dict( py2exe_options = dict(
packages=["encodings"], packages=["encodings"],
excludes=py_excludes, excludes=py_excludes,
includes=py_includes,
# silence py2exe error about not finding msvcp90.dll # silence py2exe error about not finding msvcp90.dll
dll_excludes=['MSVCP90.dll'], dll_excludes=['MSVCP90.dll'],
compressed=1, compressed=1,