From: Gary Poster <gary.pos...@canonical.com>
Date: Tue, 19 Jan 2010 11:29:42 -0500
Local: Tues, Jan 19 2010 11:29 am
Subject: Re: [Distutils] [buildout] branches languishing? (site-packages and distutils scripts)
On Jan 19, 2010, at 11:08 AM, Reinout van Rees wrote:
> On 01/19/2010 11:15 AM, Chris Withers wrote:I'm getting back to this this week. The new branch is svn+ssh://svn.zope.org/repos/main/zc.buildout/branches/gary-4 . It has most of what I intend but needs a bit more work. It could be ready for Jim's review this week.
> include-site-packages branch: from what I see in the changelog (http://tinyurl.com/y9x27oj), this would mean that a globally installed package is found by buildout/setuptools' dependency handling?The old branch supported that, with the right buildout configuration, and if apt-get installed the package as an egg.
> So if I install PIL with debian's apt-get, buildout doesn't attempt to grab another copy from pypi? Unsure about that from reading the changelog.
The new branch does not try for that. It simply builds dependency sets ignoring the Python's site.py (so, ignoring site-packages). If desired, you can have scripts import site.py *after* the buildout eggs have been set up (so if your buildout did not require PIL, but your system's Python had it, your code could use the system's version if you were willing to open yourself up to that potential fragility), but that's the only integration.
If it is really desired, I could look at porting the work later from the previous branch (after the basic work on the new approach lands). I am currently of the opinion that it is too tricky for too rare of a win (and I don't need it right now ;-) ).
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.