public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Python setuptools/eggs
@ 2005-10-08  0:15 Anders Bruun Olsen
  2005-10-08 22:45 ` Rob Cakebread
  0 siblings, 1 reply; 6+ messages in thread
From: Anders Bruun Olsen @ 2005-10-08  0:15 UTC (permalink / raw
  To: gentoo-dev

Hi,

I wanted to try out the new and fabled TurboGears and found that it uses
the new python software distribution tool setuptools and is distributed
as python eggs. I can easily install it with setuptools/easy_setup, but
I wanted to make an ebuild for TurboGears, which is not just so with
setuptools and eggs.
I started making ebuilds for the dependencies, but it seems that
setuptools has a nasty habit of downloading dependencies for a package
if it hasn't been installed by setuptools. So when eg. the new SQLObject
0.7rc1 (which also uses setuptools) depends upon FormEncode (not to
mention depends upon setuptools) it does not care that I have already
emerged setuptools or FormEncode, it just downloads the egg for it and
installs it.

It seems that alot of python projects are starting to use
setuptools/easy_install/eggs, and granted, it is quite neat, but there
needs to figured out a way to handle installing these things through
Portage, or alot of new versions are going to be a pain to have
installed.

How should Portage handle this?

I was thinking that maybe hacking up a Gentoo specific version of
setuptools that would make it work together with Portage or something
like that, but it seems a bit un-gentoo-like.
A different approach could be to grab the .egg files and manually
install them in the ebuilds, which wouldn't be a problem for pure-python
packages, but would suck for packages with c-extensions included, since
some might end bound to a specific subset of archs.

Instead of me just blindly fumbling in the blind for a way to get
ebuilds for TurboGears and it's assorted dependencies, I thought it
would be better to get some official guidelines.

Some useful URLs:
http://peak.telecommunity.com/DevCenter/setuptools
http://peak.telecommunity.com/DevCenter/EasyInstall
http://peak.telecommunity.com/DevCenter/PythonEggs

-- 
Anders
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/O d--@ s:+ a-- C++ UL+++$ P++ L+++ E- W+ N(+) o K? w O-- M- V
PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b++ DI+++ D+ G e- h !r y?
------END GEEK CODE BLOCK------
PGPKey: http://random.sks.keyserver.penguin.de:11371/pks/lookup?op=get&search=0xD4DEFED0
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-13 20:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-08  0:15 [gentoo-dev] Python setuptools/eggs Anders Bruun Olsen
2005-10-08 22:45 ` Rob Cakebread
2005-10-09 17:15   ` Anders Bruun Olsen
2005-10-09 19:48     ` Dave Nebinger
2005-10-13 20:11       ` Rob Cakebread
2005-10-12  0:10     ` Rob Cakebread

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox