[sldev] Python libs in source tree
Tao Takashi
tao.takashi at googlemail.com
Tue Nov 27 15:37:57 PST 2007
Hi!
On Nov 28, 2007 12:10 AM, Ryan Williams (Which) <rdw at lindenlab.com> wrote:
> Tao Takashi wrote:
> > Hey, it would be cool if you package those libraries up as eggs and put
> them
> > somewhere for separate download so I can require them in my egg/buildout
> and
> > they install automatically :-)
>
> Yeah, it's sorta weird because it's such a grab bag of semi-independent
> tools, it's hard to imagine anyone using all of them except for us (and
> even we don't use all of them, hah). I'd rather not have some
> equivalent of py.lib, where you get a whole bunch of stuff that you're
> not sure you really want just to get greenlet. This might be just a
> personal prejudice of mine, though, so feel free to set me straight if
> the py.lib model actually rocks.
That's why I was proposing namespace packages so you can bundle them
separately.
Of course you can also bundle them however you like or maybe not at all,
maybe just with a general namespace of lindenlab.
> > some namespace packages would probably also be quite handy for this, so
> you
> > can have different packages for each library but still can group them
> under
> > one name.
>
> Could we make an egg for each file, or something like that? Seems like
> it'd be the most fine-grained way to do it.
That's the idea of namespaces. They are individual eggs but you can still
use common prefixes. Like in plone we have different eggs for
plone.app.portlets
plone.app.layout
plone.app.commenting
etc. but you can still import them with the above paths. There should be a
paster template for creating a namespace package in egg form.
cheers,
Tao
--
taotakashi at gmail.com
http://taotakashi.wordpress.com
http://worldofsl.com
RL: Christian Scholz, cs at comlounge.net
http://mrtopf.de
http://comlounge.net
http://comlounge.tv
http://mrtopf.tv
http://dev.comlounge.net
IRC: MrTopf/Tao_T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071128/bc728911/attachment.htm
More information about the SLDev
mailing list