[Distutils] formencode as .egg in Debian ??

"Martin v. Löwis" martin at v.loewis.de
Tue Nov 22 23:25:15 CET 2005


M.-A. Lemburg wrote:
> Doesn't the standard "python setup.py install" work with
> eggified packages anymore (meaning that the package is
> installed as normal site-packages package) ?

No. First, an eggified package tries to download ez_setup
first, i.e. it won't do the distutils setup(), but the easy_install
one. Then, "setup.py install" will not install into, say,
site-packages/mxTools, but into
site-packages/mxTools-2.0.3.egg/mxTools, and add, to easy_install.pth,
the line

/usr/lib/python2.3/site-packages/mxTools-2.0.3.egg

(which in turn adds this directory to sys.path)

If you edit setup.py to use distutils setup instead of
easy_install setup, it will install as before, but warn
that setup() is being passed unrecognized parameters.

Regards,
Martin


More information about the Distutils-SIG mailing list