Commit 5db8fdc1 authored by Xavier Thompson's avatar Xavier Thompson

WIP; fix search path for index

parent 8e0b6463
......@@ -149,7 +149,11 @@ def _get_index(index_url, find_links, allow_hosts=('*',)):
index_url = default_index_url
if index_url.startswith('file://'):
index_url = index_url[7:]
index = AllowHostsPackageIndex(index_url, hosts=allow_hosts)
index = AllowHostsPackageIndex(
index_url,
hosts=allow_hosts,
search_path=[], # never look at sys.path
)
if find_links:
index.add_find_links(find_links)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment