[MERGE] Fix installation of bzrlib.benchmarks
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Jun 22 17:48:12 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
>>+0 on the patch. I like the idea, but sys.argv[0] 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.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEmsnL0F+nu1YWqI0RAnpNAJ9NEfRC13XwApkgvXFnpcmSy6YFdgCfQtnS
dj2oXpftkyldXns/N56hkCs=
=WIN3
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list