Shed Skin may turn your program into a fast executable file, but it may not work for your program.
With py2exe and setup.py like this, you can easily turn your Python 2.x code on Windows into an executable file with only one additional file, unlike cx_Freeze flat output from 11 files. For Python 3, use cx_Freeze or py2exe .
The key part:
options={
'py2exe': {
'compressed': 2,
'optimize': 2,
'includes': includes,
'excludes': excludes,
'packages': packages,
'dll_excludes': dll_excludes,
'bundle_files': 1,
'dist_dir': 'dist',
'xref': False,
'skip_archive': False,
'ascii': False,
'custom_boot_script': '',
}
},
zipfile=None,
source
share