From df00555a88dabc087bc04811dc12fbe3f665c450 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 20 Sep 2007 15:29:12 -0700 Subject: [PATCH] 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 --- calcdeps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") ] -- 2.45.2