[BzrTools][Win32] graph-ancestry needs sax.utils

Aaron Bentley aaron at aaronbentley.com
Thu Jan 24 20:39:10 GMT 2008


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

Alexander Belchenko wrote:
> Aaron Bentley пишет:
>> Paul Moore wrote:
>>> Ah. I wonder if I see the problem - the Windows binary installer for
>>> bzr is built using py2exe, which only packs up modules that are
>>> actually used by [bzr].
>>
>> Seems like a bad idea-- other plugins may also use obscure corners of
>> the standard library.  Perhaps there's an override for py2exe?
> 
> Yeah, and standalone installer does not contains PyGTK and PyQt and Tkinter
> libraries and name another one yourself.

There is a significant difference between PyGTK and the standard
library.  People who are writing plugins expect the full standard
library to be available.  (Which includes Tkinter.)

They know that PyGTK and PyQT are extras, and if they are needed, will
arrange for them to be installed.

> For me -- it's bad idea to bundle entire Python standard library.
> If some plugins is rely on module/package from std. library and
> it does not work with bzr.exe -- you can say me about or file a bug,
> and I'll explicitly add such module to setup.py, looking for
> 'additional_packages' in setup.py sources:

This is a fragile approach, because not every import bug is reported
quickly.  This graph-ancestry bug, for example, has been present since
September 2005.  I don't know how many users have encountered it before
Paul.  I hope not many.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmPdu0F+nu1YWqI0RAiKUAKCInsgS0N3sysfMhSX8Tnt7NhtQSwCeI2uA
+XMy9lEilezUMnu+9eJwY7Y=
=yBAr
-----END PGP SIGNATURE-----



More information about the bazaar mailing list