[Distutils] Does buildout have a way to issue its version of sys.path?
kiorky
kiorky at cryptelium.net
Sat May 8 16:20:10 CEST 2010
with minitage.recipe.scripts, you can generate a '.env' file, then when you
source it put the appropriate 'PYTHONPATH' in the current environment.
see:
http://pypi.python.org/pypi/minitage.recipe.scripts/1.53#generating-an-envrionment-file
I use it mainly for vim with that plugin:
http://hg.cryptelium.net/hg/system/config/vim/file/6e74640f22b9/ftplugin/python/autotagsgen.vim
Le 08/05/2010 09:16, kevin a écrit :
> 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...
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100508/a2ab2683/attachment-0001.pgp>
More information about the Distutils-SIG
mailing list