from distutils.core import setup import py2exe, sys, os sys.argv.append('py2exe') setup( options = {'py2exe': {'bundle_files': 2, 'compressed': True}}, # Change from 1 to 2 ->here {'bundle_files': 1, 'compressed': True}} windows = [{'script': "nameOfFile2bConverted.py"}],# And of course the filename to be converted. zipfile = None, )