Skip to content

Instantly share code, notes, and snippets.

Created March 31, 2016 13:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/6429a37f294d487020f2ca2a1f0dcd40 to your computer and use it in GitHub Desktop.
import sys
from cx_Freeze import setup, Executable
options = {
'build_exe': {
'compressed': True,
"excludes": ["tkinter", "PyQt4.QtSql", "sqlite3",
"scipy.lib.lapack.flapack",
"PyQt4.QtNetwork",
"PyQt4.QtScript",
"numpy.core._dotblas",
"PyQt5"],
'includes': [
'Manufacturer','ManufacturerFactory'
],
'path': sys.path + ['modules']
}
}
executables = [
Executable('app.py')
]
setup(name='Company Name',
version='0.1',
description='description',
options=options,
executables=executables
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment