Skip to content

Instantly share code, notes, and snippets.

@WPettersson
Created July 26, 2017 01:35
Show Gist options
  • Save WPettersson/746b6a7f18baef7916b1dee69cedc5ff to your computer and use it in GitHub Desktop.
Save WPettersson/746b6a7f18baef7916b1dee69cedc5ff to your computer and use it in GitHub Desktop.
print("Hello world")
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "Test",
version = "0.1",
options = {'build_exe': {'silent': True}},
executables = [Executable("hello.py", base=base)]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment