[Distutils] Bazaar support for setuptools

Barry Warsaw barry at python.org
Fri Jul 20 22:32:19 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, I hacked this together pretty quickly but it seems to work for  
my particular use case.  The Mailman source code is now kept under  
the Bazaar revision control system, and I'm about to merge a branch  
that converts the Mailman 3 branch from autoconf-based builds to  
setuptools.  So I needed Bazaar support in order to build my sdist  
files and such.

Writing the plugin code was pretty easy after Michael Hudson gave me  
the key bzrlib clues.  Maybe this could be included by default in the  
next version of setuptools?

I've added it as an attachment to SF patch #1757782

https://sourceforge.net/tracker/index.php? 
func=detail&aid=1757782&group_id=5470&atid=305470

Side note: I found it interesting and a bit annoying that setuptools  
doesn't call find_files_for_bzr() recursively.  It would seem like  
the framework should do the recursion instead of the plugin, as I'd  
think it would be the most common use case.  In any event, the  
setuptools documentation should probably be clear that it's up to the  
plugin to recurse into subdirectories.

Cheers,
- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQCVAwUBRqEb03EjvBPtnXfVAQLqAAP+PHgTq5B8pJR20DrbaLr3xx+vZAUJN2TK
o4s9+5dPKrsm7YCoMkGla2xongmZcFqy9KlMuNJ3FT/5JgeneC4Og/52L+/A0HU0
4nFgBaXd1tKLQRVFKxr6CzqLqt9jnNfzXmNNNqweYvoa/wXU44WxL0sdiLxjljKT
1yzjcd3D1aA=
=9uBA
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list