[Distutils] Does buildout have a way to issue its version of sys.path?

Jim Fulton jim at zope.com
Sat May 8 15:51:59 CEST 2010


On Sat, May 8, 2010 at 3:16 AM, kevin <lazyweb at gmail.com> wrote:
> Ok, I use vim in the console.  I have python compiled into it, the
> system python. If i could get the value of sys.path in my buildout, I
> could add it  to vim and then have omni completion for everything in
> the buildout.  That's the goal.
>
> So:  is there a way to get sys.path's value in a buildout?  I'd like
> to make things a bit more automatic than copying the sys.path
> invocation in bin/buildout itself...

I'm not sure what you mean. Do you mean getting it as a value
you could use in a variable substitution? Is so, you could write a
recipe that made it available that way.

Jim

-- 
Jim Fulton


More information about the Distutils-SIG mailing list