Monday, September 5, 2016

setup.py file for cx freeze

import sys
from cx_Freeze import setup, Executable

base = None
if (sys.platform == "win32"):
    base = "Win32GUI"

exe = Executable(
        script = "LogoBottom.py",
        icon = "favicon.ico",
        targetName = "LogoBottom.exe",
        base = base
        )
includefiles = ["favicon.ico","PythonLogo copy.jpg"]

setup(
    name = "Logo Bottom",
    version = "0.1",
    description = "Python Malayalam Copyright Overlay Icon",
    author = "Malayalam Tutorials",
    options = {'build_exe': {'include_files':includefiles}},
    executables = [exe]
)