Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion [buildout] branches languishing? (site-packages and distutils scripts)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gary Poster  
View profile  
 More options Jan 19 2010, 11:29 am
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:

>> gary-4-include-site-packages

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?

> 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 old branch supported that, with the right buildout configuration, and if apt-get installed the package as an egg.

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 ;-) ).

Gary
_______________________________________________
Distutils-SIG maillist  -  Distutils-...@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


 
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.