[links] reading Daily Python
Martin Pool
mbp at canonical.com
Sat May 13 03:24:48 BST 2006
On 13/05/2006, at 4:15 AM, John A Meinel wrote:
>
> Another small problem with using easy_install is that it leaves a
> .python_eggs directory in the root directory of 'bzr' after running
> selftest. Simply because we set HOME there for test cases that don't
> have a special directory.
>
> Its a bit of clutter that is just unfortunate. Would it be better to
> make $HOME => test000?.tmp instead?
> Then everything would get cleaned up when we finish. I think the only
> major change is that TestCase would now need to create the
> test000?.tmp
> directory, and that may be violating the "TestCase works only in
> memory"
> stuff.
We could set $HOME to a nonexistent directory (or perhaps to ''); the
goal here was just to make sure that the tests were not influenced by
anything the use may have in ~/.bazaar, and that we don't
accidentally touch anything there.
> What I like about easy_install, is that it makes it very easy for a
> user
> to say "I want to try out bzr... easy_install bazaar-ng". I certainly
> agree that using multiple package managers is a big pain.
Perhaps we should support it and document the shortcomings.
--
Martin
More information about the bazaar
mailing list