[Pythonmac-SIG] Building plugins with py2app
Dethe Elza
delza at livingcode.org
Thu Oct 12 19:58:20 CEST 2006
On 12-Oct-06, at 10:08 AM, Ronald Oussoren wrote:
> Could you try again with the latest version of py2app, that is
> subversion revision 46. Using 'easy_install py2app==dev' should do
> the trick.
When I try that (after a long time) get a stack trace as follows:
delza$ easy_install py2app==dev
Searching for py2app==dev
Reading http://www.python.org/pypi/py2app/
Reading http://undefined.org/python/#py2app
Reading http://www.python.org/pypi/py2app/0.3.4
Best match: py2app dev
Downloading http://svn.pythonmac.org/py2app/py2app/trunk#egg=py2app-dev
Doing subversion checkout from http://svn.pythonmac.org/py2app/py2app/
trunk to /tmp/easy_install-q6o67p/trunk
Processing trunk
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-q6o67p/
trunk/egg-dist-tmp-vup0ad
Traceback (most recent call last):
File "/usr/local/pybin/easy_install", line 7, in ?
sys.exit(
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 1588, in main
with_ei_usage(lambda:
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 1577, in with_ei_usage
return f()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 1592, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 446, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 471, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/sandbox.py", line 26, in run_setup
DirectorySandbox(setup_dir).run(
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/sandbox.py", line 63, in run
return func()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/sandbox.py", line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 92, in ?
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/distutils/dist.py", line 965, in run_command
cmd_obj.ensure_finalized()
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
python2.4/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/bdist_egg.py", line 94, in finalize_options
ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
python2.4/distutils/cmd.py", line 319, in get_finalized_command
cmd_obj.ensure_finalized()
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
python2.4/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/egg_info.py", line 85, in finalize_options
self.vtags = self.tags()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/egg_info.py", line 179, in tags
): version += '-r%s' % self.get_svn_revision()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/setuptools-0.7a1dev_r51485-py2.4.egg/
setuptools/command/egg_info.py", line 196, in get_svn_revision
dirurl = urlre.search(data).group(1) # get repository URL
AttributeError: 'NoneType' object has no attribute 'group'
> I just checked in a patch that fixes the Info.plist template, at
> least as far as the PYTHONPATH is concerned. This seems to be
> enough to create functional versions of PyObjC's Screensaver
> examples again, but I haven't done a full review therefore other
> issues might remain.
Thanks for taking a look at this.
> Ronald
--Dethe
Ninety percent of the technology hasn't even been developed yet. --
Tim Armstrong, Google
More information about the Pythonmac-SIG
mailing list