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

This commit is contained in:
Zooko O'Whielacronx 2007-09-20 15:29:12 -07:00
parent 8f1b6a3dae
commit df00555a88

View File

@ -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") ]