On 3/20/06, David Stanek <[EMAIL PROTECTED]> wrote:
> It appears that you don't have Kid installed or at least the it's
> egg is not installed. Linux dists don't seem to know how to use eggs
> with their own packaging systems yet. So you might want to try and
> install the egg.

It's not a Linux problem, it's a setuptools problem.  If you install a
package the old-fashioned way ("python setup.py install"), eggs that
depend on it won't recognize it's installed.  I don't know whether
it's a bug or a design decision, but it's surprising to users.  But
you can install any package as an egg ("easy_install
PACKAGE-DIRECTORY" or "easy_install PACKAGE.tar.gz") even if it hasn't
been eggified: setuptools will create an egg on the fly.

The bigger problem is having two copies of a package on the system,
especially when one gets upgraded but the other doesn't.  It may be
easier to delete the distro package.  I use the "Administrator
Installation" technique to put self-compiled packages in
/usr/local/lib/python2.4, and distro packages in
/usr/local/lib/python2.4.
http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations

/root/.pydistutils.cfg:

[install]
prefix = /usr/local
install_lib = /usr/local/lib/python2.4

[easy_install]
site_dirs = /usr/local/lib/python2.4

This will work until the distro starts using easy_install.

--
Mike Orr <[EMAIL PROTECTED]>
([EMAIL PROTECTED] address is semi-reliable)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to