[Distutils] how can I find out what version of an egg buildout has selected?
Tarek Ziadé
ziade.tarek at gmail.com
Thu Jun 26 14:09:10 CEST 2008
On Thu, Jun 26, 2008 at 1:18 PM, Chris Withers <chris at simplistix.co.uk>
wrote:
> Hi All,
>
> If I have a buildout.cfg such as:
>
> [buildout]
> eggs =
> some.egg
> some.other.egg
>
> ...what's the correct way to find out what versiosn of these eggs buildout
> has selected and is using?
I read the output of "bin/buildout -v", where versions are shown.
otherwise you can look at the result in your buildout:
Buildout does not have an eggs section, it is probably used in another
section, with ${buildout:eggs}.
Are you installing a zope or a plone ? if so, the recipe that uses the eggs
variable here,
has probably created a script in bin/ where you will find something like:
import sys
sys.path[0:0] = [
some eggs
]
So you can see which eggs were used, with their paths
That would be 'zopepy' or 'instance' for a typical plone buildout for
example
Tarek
>
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
> - http://www.simplistix.co.uk
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>
--
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080626/e9e8bce8/attachment.htm>
More information about the Distutils-SIG
mailing list