Mit der setup.py funktionierts, vorher bitte prüfen welche excludes gebraucht werden, PROG_file, PROG_ICON (ich weiss nicht PEP konform
) anpassen und los gehts.
Code: Alles auswählen
# -*- coding: ISO-8859-1 -*-
from distutils.core import setup
import py2exe
import sys
import os
PROG_Pfad = os.path.dirname(sys.argv[0])
PROG_file = 'HSkasse.pyw'
PROG_icon = 'Cash.ico'
py2exe_options = dict(
excludes=['difflib', 'doctest', 'pdb', 'unittest', 'inspect', 'Tkconstants', 'Tkinter', 'tcl'],
)
setup(
name='HSkasse',
version='0.001',
description='Kassensturz Tool',
author='Feuer Teufel',
windows=[
{
'script':PROG_file,
'icon_resources':[(0, PROG_icon)]
}],
options={'py2exe':py2exe_options}
)
Gruß
Damaskus