From: Zooko O'Whielacronx Date: Thu, 20 Sep 2007 22:29:12 +0000 (-0700) Subject: setup: leave the "file:" off the front of your URLs and setuptools (v0.6c7) will... X-Git-Tag: allmydata-tahoe-0.6.0~39 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=df00555a88dabc087bc04811dc12fbe3f665c450;p=tahoe-lafs%2Ftahoe-lafs.git setup: leave the "file:" off the front of your URLs and setuptools (v0.6c7) will treat them as not-URLs which means it will prefer them to HTTP: URLs --- diff --git a/calcdeps.py b/calcdeps.py index fb0a0e69..e2090bb6 100644 --- a/calcdeps.py +++ b/calcdeps.py @@ -8,7 +8,7 @@ import os.path, sys # "file:misc/dependencies/zfec-1.0.2.tar.gz", # The file: URL can start with either 'misc' or './misc' to get a relative path. -dependency_tarballs=[ "file:" + os.path.join("misc", "dependencies", fn) +dependency_tarballs=[ os.path.join("misc", "dependencies", fn) for fn in os.listdir(os.path.join("misc", "dependencies")) if fn.endswith(".tar.gz") or fn.endswith(".zip") ]