[Distutils] easy_install problem.

Titus Brown titus at caltech.edu
Sat Dec 3 20:59:37 CET 2005


-> Hi Titus
-> 
-> On Fri, 2 Dec 2005, Titus Brown wrote:
-> 
-> > it appears easy_install has trouble understanding package names with
-> > periods in them, e.g. "zope.testbrowser".
-> > 
-> > Also, 'python ez_setup.py --help-commands' doesn't work; "unrecognized
-> > command".
-> 
-> 1). ez_setup.py is just the bootstrap script.  Run it once, throw it away.

Humm, I remember reading somewhere that it needed to be included.  Can't
find that any more, so it was probably a misunderstanding -- good to
know!

-> 2). The argument to easy_install is the PyPI (aka Python Cheese Shop)  
-> name, not a Python module name.  Try, for example:
-> 
-> easy_install -d. -m zopetestbrowser

the package name is, in fact, "zope.testbrowser" ;).  So that *is* the
PyPi name:

	http://www.python.org/pypi/zope.testbrowser/

Perhaps PyPi should reject '.' in names, or is this something that will
be changed in the future in easy_install?

cheers,
--titus


More information about the Distutils-SIG mailing list