Skip to content

Instantly share code, notes, and snippets.

@dohvis
Last active August 29, 2015 14:19
Show Gist options
  • Save dohvis/eea3fa1a04197d769191 to your computer and use it in GitHub Desktop.
Save dohvis/eea3fa1a04197d769191 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
import sys
from cx_Freeze import setup, Executable
build_exe_options = {"packages": ["socket","time","sys","codecs","os"], }
# packages name imported in mycode.py
# GUI applications require a different base on Windows (the default is for a console application).
setup(
name = "~~~", # exe's file name (~~~.exe)
version = "1.0",
description = "WOWOWOWOW",
executables = [Executable("mycode.py", base = 'Console')])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment