On Jul 16, 2010, at 12:22, Wichert Akkerman wrote:

> On 7/16/10 12:23 , Gerard Petersen wrote:
>>> Die richting had ik in gedachte, maar dan moet je eerst weer uit gaan
>>> zoeken wat er ook alweer allemaal staat.
>>> Is er een list-eggs script, met als optie doe-maar-nieuw-leggen ?
>> Bash een idee?
> 
> http://pypi.python.org/pypi/yolk


yolk ziet er mooi uit, maar inmiddels lijkt de boel een beetje ingestort hier 
na de update naar easy_install-2.7
Volgens mij zou de opwaardering van python 2.6 naar 2.7 iets eenvoudiger (en 
vrolijker) moeten kunnen... (Guido! :-)



$ easy_install yolk
/usr/bin/easy_install-2.6:7: UserWarning: Module pkg_resources was already 
imported from 
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.pyc,
 but /Library/Python/2.6/site-packages is being added to sys.path
  from pkg_resources import load_entry_point
/usr/bin/easy_install-2.6:7: UserWarning: Module site was already imported from 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site.pyc,
 but /Library/Python/2.6/site-packages is being added to sys.path
  from pkg_resources import load_entry_point
Searching for yolk
Reading http://pypi.python.org/simple/yolk/
Reading http://tools.assembla.com/yolk/
Best match: yolk 0.4.1
Downloading 
http://pypi.python.org/packages/source/y/yolk/yolk-0.4.1.tar.gz#md5=100b0f20aaf66aacd53987714cc91c3d
Processing yolk-0.4.1.tar.gz
Running yolk-0.4.1/setup.py -q bdist_egg --dist-dir 
/var/folders/8k/8kMnR8La2RaKoE+BYusq3++++TI/-Tmp-/easy_install-Rei52v/yolk-0.4.1/egg-dist-tmp-5I7bRS
Traceback (most recent call last):
  File "/usr/bin/easy_install-2.6", line 10, in <module>
    load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 1671, in main
    with_ei_usage(lambda:
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 1659, in with_ei_usage
    return f()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 1675, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
 line 152, in setup
    dist.run_commands()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 975, in run_commands
    self.run_command(cmd)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 995, in run_command
    cmd_obj.run()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 211, in run
    self.easy_install(spec, not self.no_deps)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 446, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
 line 919, in run_setup
    run_setup(setup_script, args)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
 line 27, in run_setup
    lambda: execfile(
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
 line 63, in run
    return func()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
 line 29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 31, in <module>
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
 line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py",
 line 223, in __init__
    _Distribution.__init__(self,attrs)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
 line 270, in __init__
    self.finalize_options()
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.py",
 line 256, in finalize_options
    ep.load()(self, ep.name, value)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py",
 line 1912, in load
    raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from 
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/dist.pyc'>
 has no 'check_packages' attribute



_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan