[Distutils] offline coding, svn:externals, and ez_setup

Phillip J. Eby pje at telecommunity.com
Wed Dec 14 22:39:04 CET 2005

At 10:32 AM 12/14/2005 -0800, Todd Greenwood-Geer wrote:
>Hash: SHA1
>I'm finding that I'm coding online and offline. When I'm offline, I
>would really like to use the svn:externals definition for ez_setup. It
>seems that the best way to do this would be to create a 'peak' project
>just for the ez_setup files. Then, when I'm online, I can sync 'peak'
>and get the latest ez_setup files. When I'm offline, I could reference
>the 'peak' project in my other python projects that use setuptools. I've
>tried this, but so far, I keep getting just a blank directory when my
>projects reference 'peak'.

Subversion doesn't chain externals, so there isn't a good solution for what 
you're trying to do.  You should probably just use ez_setup.py instead of 

The main advantage to using svn:externals is that it gets you (and anyone 
who checks out your project) an updated ez_setup/__init__.py just by 
running svn update.

More information about the Distutils-SIG mailing list