ich habe ein winsetup.py erstellt damit ich den sourcecode kompilieren kann unter windows.
Code: Alles auswählen
from distutils.core import setup
import py2exe
setup(
name='Cryptis',
options = {"py2exe": {
"compressed": 0,
"optimize": 2,
"excludes": "",
"packages" : ["encodings","cjkcodecs"]
}},
windows = [
{
"script": "main.py",
"icon_resources": [(1, "c6icon32.png")]
}
],
data_files=[("",["cryptic6.glade", "c6icon16.png", "c6icon32.png", "c6icon64.png", "c6icon128.png"])]
)
python-2.4.2.msi
Twisted_NoDocs-2.1.0.win32-py2.4.exe
gtk-win32-devel-2.8.8-rc2.exe?download
pysqlite-1.1.6.win32-py2.4.exe
pygtk-2.8.2-1.win32-py2.4.exe
pycrypto-2.0.1.win32-py2.4.zip
nun muss ich mein winsetup.py anpassen?
hier der error log:
habe jede menge an .dll mindestens 20 stück nach dem kompilieren.ImportError: could not import pango
ImportError: could not import pango
Traceback (most recent call last):
File "main.py", line 21, in ?
File "firstRun.pyo", line 2, in ?
File "gtk\__init__.pyo", line 113, in ?
AttributeError: 'module' object has no attribute 'Font'
ist das normal?