detecting non-installed copies of bzr

Robert Collins robertc at robertcollins.net
Wed Jan 28 00:00:00 GMT 2009


Seems like there are multiple use cases for knowing if bzr is installed
or not:
 - plugin path (non installed copies shouldn't load installed plugins), 
   installed copies and .exe copies should load plugins from the python 
   stdlib dir
 - warnings and errors might change their appearance for installed bzr's

So I'd like to check we have the right set of cases to cater for.

I think there are three situations:
 - 'installed' via setup.py or a .deb or $whatever packaging
 - 'installed' via py2exe or .egg encapsulation
 - 'not installed' - either an extracted tarball, or a bzr branch. May
   have had the C extensions built.

Are there any cases I missed?

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090128/579ec066/attachment.pgp 


More information about the bazaar mailing list