[MERGE] Fix installation of bzrlib.benchmarks
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 22 17:54:54 BST 2006
Aaron Bentley wrote:
> John Arbash Meinel wrote:
>>>> +0 on the patch. I like the idea, but sys.argv isn't the right way
>>>> to get the path-- it just provides the text the user typed, without
>>>> following symlinks or being aware of $PATH. Here's a tweak that uses
>>>> the bzrlib file path to find setup.py.
>>> This is already in setup.py, right?
> No, this is how we find setup.py.
>>> I would say bzrlib.__file__ is the better way to go, but are we
>>> guaranteed that setup.py is next to bzrlib.
> I think that's a reasonable expectation if bzr's running from a source
> tree. If it's already installed, I can't see how this test would work.
Well, if we are running from an installation, there is no 'setup.py'. So
we should probably skip the test at that point.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060622/d03b3966/attachment.pgp
More information about the bazaar