Re: [wxpython-users] py2app Mac
by Mariano Di Felice other posts by this author
May 9 2008 10:25AM messages near this date
Re: [wxpython-users] py2app Mac
|
Re: [wxpython-users] py2app Mac
Hi Robin,
thx for you suggestion... Now I've installed correclty modulegraph from
svn and py2app ver 0.4.2
But, when I run
python setup.py py2app raise this exception:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-
py2.5.egg/py2app/build_app.py",
line 579, in _run
self.run_normal()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-
py2.5.egg/py2app/build_app.py",
line 650, in run_normal
self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-
py2.5.egg/py2app/build_app.py",
line 767, in create_binaries
platfiles = mm.run()
File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py",
line 102, in run
mm.run_file(fn)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line
66, in run_file
m = self.createNode(MachO, pathname)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py",
line 23, in createNode
res = super(FilteredMachOGraph, self).createNode(cls, name)
File "build/bdist.macosx-10.3-i386/egg/altgraph/ObjectGraph.py", line
148, in createNode
m = cls(name, *args, **kw)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 61, in
__init__
self.load(file(filename, 'rb'))
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 71, in
load
self.load_fat(fh)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 82, in
load_fat
self.load_header(fh, arch.offset, arch.size)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 106,
in load_header
hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 146,
in __init__
self.load(fh)
File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 178,
in load
raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
>
/Users/mac/test/build/bdist.macosx-10.3-i386/egg/macholib/MachO.py(178)load()
(Pdb)
What is this???
thx
Robin Dunn ha scritto:
> Mariano Di Felice wrote:
> > Oh my gold!!!!
> > If I write easy_install py2app will return:
> >
> > Searching for py2app
> > Best match: py2app 0.4.2
> > Processing py2app-0.4.2-py2.5.egg
> > py2app 0.4.2 is already the active version in easy-install.pth
> > Installing py2applet script to
> > /Library/Frameworks/Python.framework/Versions/2.5/bin
> >
> > Using
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.
2-py2.5.egg
> >
> > Processing dependencies for py2app
> > Searching for modulegraph>=0.7.2dev
> > Reading http://cheeseshop.python.org/pypi/modulegraph/
> > Reading http://undefined.org/python/#modulegraph
> > Reading http://cheeseshop.python.org/pypi/modulegraph/0.7
> > No local packages or download links found for modulegraph>=0.7.2dev
> > error: Could not find suitable distribution for
> > Requirement.parse('modulegraph>=0.7.2dev')
> >
>
> The "dev" in the name indicates that the dependency is for a
> development version of modulegraph. Easy_install can also fetch code
> from a SVN repository and build an egg for it. Try this:
>
> easy_install http://svn.pythonmac.org/modulegraph/modulegraph/trunk/
>
>
--
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
http://www.marianodifelice.it
mariano.difelice@[...].com
Tel. 0735 703735
Cell +39 339 6407211
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chester
Werner F. Bruhin
Mariano Di Felice
Robin Dunn
Robin Dunn
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Chester
Tim Roberts
Chester
Werner F. Bruhin
Chester
|