Re: Buildout - including per-user site-packages dir.

"Alex Leach" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization University of York
Message-ID <[email protected]>
Hi Johannes,

Thanks for the reply.

On Tue, 25 Jun 2013 19:13:15 +0100, Johannes Raggam <[email protected]>  
wrote:

> AFAIK, you just need to create a .buildout directory in your home
> directory, put the file "default.cfg" in it with this content:
>
> [buildout]
> eggs-directory = /home/YOURS/.buildout/eggs
> download-cache = /home/YOURS/.buildout/downloads
> extends-cache = /home/YOURS/.buildout/extends
>
> and create the directories referenced here.

I saw that, but the packages I've installed into '~/.local/lib/python...'  
aren't (yet) on PyPi, so this isn't really what I need.

I've actually got it working now, without any new sitecustomize.py file..  
I think changing the package recipe in buildout.cfg fixed it, but it could  
have been something I did in configure.zcml.in, as I've been separating  
some things out into other namespace packages recently, and that was one  
file that needed tweaking.

The buildout configuration that seemed to fix this, was to add 'recipe =  
zc.recipe.egg:scripts' to my package's section, and  
'allowed-eggs-from-site-packages = peak' to the `[buildout]` section. That  
second one also helped resolve some dependency / conflict issues I was  
having with PasteScript - I also have it installed system-wide for some  
reason - and seems to reduce the need for duplicating some system  
packages. I like it :)


Thanks again,

Alex
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.