profile_imports not in bzrlib
Martin Pool
mbp at canonical.com
Thu Jun 22 10:45:13 BST 2006
On 22 Jun 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> The problem is that bzrlib.__init__ *and anything it imports* will be
> excluded. Plus anything that has been imported by 'bzr' before we load
> the profile_imports.py
Right. We should probably try to reduce those imports; I think sys, os
and locale could probably be fixed fairly easily by moving the user
encoding into, say, osutils.
> I did sort of want to allow for profile_imports.py to be a standalone
> lib, since I would probably like to use it on other things that I've
> written.
Is it hygenic for us to just install it, do you think? Or perhaps we
should just leave it as is and maybe give a message if we get an
ImportError telling folks to install it. I suppose it is really a
developer tool and so it's reasonable to expect people to have a bzr
source checkout.
> We could do both, and have it fall back to a builtin version if it can't
> get a top-level version.
That sounds a bit complicated to me.
--
Martin
More information about the bazaar
mailing list