From: zooko Date: Sun, 30 Dec 2007 03:08:02 +0000 (+0530) Subject: setup: prepend os.getcwd() to misc/dependencies X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/%22news.html/reliability?a=commitdiff_plain;h=101b73e1eeaa482e219c33cb788ab00a5600b64a;p=tahoe-lafs%2Fzfec.git setup: prepend os.getcwd() to misc/dependencies This is actually useful because if for example you invoke "easy_install ~/some/path/setup.py", then the CWD will be ~/some/path when the first part of setup.py is evaluated, but will change to something else later, so the misc/dependencies will not be found unless the CWD is prepended. ***END OF darcs-hash:68fcb948a6ec9414283868861cfeaa080c6525a8 --- diff --git a/zfec/setup.py b/zfec/setup.py index e6d8a8a..b231b1a 100755 --- a/zfec/setup.py +++ b/zfec/setup.py @@ -11,7 +11,7 @@ import os, re, sys -miscdeps=os.path.join('misc', 'dependencies') +miscdeps=os.path.join(os.getcwd(), 'misc', 'dependencies') try: from ez_setup import use_setuptools