LWN.net Logo

Advertisement

Front, Kernel, Security, Distributions, Development. See your byline here on LWN.net.

Advertise here

Python 3 should include namespace for libraries and a CPAN repo

Python 3 should include namespace for libraries and a CPAN repo

Posted Sep 1, 2007 19:33 UTC (Sat) by chrism (guest, #4713)
In reply to: Python 3 should include namespace for libraries and a CPAN repo by zooko
Parent article: Python 3.0a1 released

More importantly, easy_install (http://peak.telecommunity.com/DevCenter/EasyInstall), which is
part of setuptools is willing to attempt to install any package that's on PyPi (aka the cheeseshop)
as well as its dependencies if any. E.g.::

[chrism@kingfish chrism]$ easy_install dateutil
Searching for dateutil
Reading http://cheeseshop.python.org/pypi/dateutil/
Reading http://labix.org/python-dateutil
Reading http://cheeseshop.python.org/pypi/dateutil/1.2
Best match: dateutil 1.2
Downloading http://pypi.python.org/packages/2.4/d/dateutil/dateutil-1.2-
py2.4.egg#md5=219d3eb65507a985b4218321224e00cb
Processing dateutil-1.2-py2.4.egg
creating /Users/chrism/opt/Python-2.4.3/lib/python2.4/site-packages/dateutil-1.2-py2.4.egg
Extracting dateutil-1.2-py2.4.egg to /Users/chrism/opt/Python-2.4.3/lib/python2.4/site-
packages
Adding dateutil 1.2 to easy-install.pth file

Installed /Users/chrism/opt/Python-2.4.3/lib/python2.4/site-packages/dateutil-1.2-py2.4.egg
Processing dependencies for dateutil
Finished processing dependencies for dateutil


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds