Seite 1 von 1

Verfasst: Montag 19. Juni 2006, 22:29
von matrixnet
als ich habe ein 3 winsetup.py erstellt also

Code: Alles auswählen

# setup.py
from distutils.core import setup
import py2exe
import glob

opts = {
    "py2exe": {
        "includes": "pango,atk,gobject",
        "dll_excludes": [
        "iconv.dll","intl.dll","libatk-1.0-0.dll",
        "libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll",
        "libglib-2.0-0.dll","libgmodule-2.0-0.dll",
        "libgobject-2.0-0.dll","libgthread-2.0-0.dll",
        "libgtk-win32-2.0-0.dll","libpango-1.0-0.dll",
        "libpangowin32-1.0-0.dll"],
        }
    }

setup(
    name = "Cryptic6",
    description = "A nice GUI interface for those with GiantDisc jukebox systems.",
    version = "0.0.3",
    windows = [
        {"script": "cryptic6.py",
        "icon_resources": [(1, "c6icon.ico")]
        }
    ],
    options=opts,
    data_files=[("cryptic6.glade"),
    ],
)
http://www.anti-particle.com/old/py2exe-0.5.shtml

übernommen und etwas ageändert:
und aufm anderen system ist gtk runtime schon installiert bevor ich dsa problem hatte.

oder es muss jemand anders probieren obs bei ihm läuft.
es geht vielleciht nur bei mir nicht

Verfasst: Montag 19. Juni 2006, 22:46
von Joghurt
Ähm... Du sagt py2exe, dass er manche DLLs nicht mitpacken soll (der dll_excludes-Teil) und wunderst dich dann, dass die DLLs nicht dabei sind?

Lass doch einfach den dll_excludes-Teil weg, So sollte es aussehen:

Code: Alles auswählen

opts = {
    "py2exe": {
        "includes": "pango,atk,gobject",
        }
    }

Verfasst: Dienstag 20. Juni 2006, 12:46
von matrixnet
wenn ich die dlls ganz weg mache dann geht nicht mal aufm pc1 system
E:\cryptic6-0.0.3\Cryptic-0.0.3-src\dist\cryptic6.exe:71: GtkWarning: Cannot open pixbuf loader module file 'E:\cryptic6-0.0.3\Cryptic-0.0.3-src\dist\etc\gtk-2.0\gdk-pixbuf.loaders': No such file or directory
E:\cryptic6-0.0.3\Cryptic-0.0.3-src\dist\cryptic6.exe:71: PangoWarning: No builtin or dynamically loaded modules
were found. Pango will not work correctly. This probably means
there was an error in the creation of:
'E:\cryptic6-0.0.3\Cryptic-0.0.3-src\dist\etc\pango\pango.modules'
You may be able to recreate this file by running pango-querymodules.
E:\cryptic6-0.0.3\Cryptic-0.0.3-src\dist\cryptic6.exe:71: PangoWarning: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

Code: Alles auswählen

# setup.py
from distutils.core import setup
import py2exe
import glob

opts = {
    "py2exe": {
        "includes": "pango,atk,gobject",
        
        }
    }

setup(
    name = "Cryptic6",
    description = "A nice GUI interface for those with GiantDisc jukebox systems.",
    version = "0.0.3",
    windows = [
        {"script": "cryptic6.py",
        "icon_resources": [(1, "c6icon.ico")]
        }
    ],
    options=opts,
    data_files=[("cryptic6.glade"),
    ],
)
keine ahnung wie ich das problem lösen kann?
mit den dll_excludes" lief es aufm pc1 system ohne probs aber nciht aufm anderen pc.

Verfasst: Dienstag 20. Juni 2006, 13:11
von DatenMetzgerX
Auf dem PC wo du das programm entwickelst muss es laufen (ausser wenn du fehler beim coden machst). Denn du hast auf diesem PC ALLE DLLS

Mach doch mald as was er gesagt hat...

Verfasst: Mittwoch 21. Juni 2006, 10:59
von matrixnet
Bild

es geht also nun gar nicht mehr.