Add find-links, even when not being locked down

Using find-links when doing installs can be done
regardless of whether we're locking down the index.

In order to help transition to using the pypi cache
alongside the older repo build mechanism, we need
to be able to use a set index with find-links
pointing at the old links location.

Change-Id: I1e9782eb0fd72690a9644c7a01e8c83a4486872b
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
This commit is contained in:
Jesse Pretorius 2017-12-04 17:05:08 +00:00
parent a6216fa4a8
commit 43603dfcff
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ trusted-host =
[install]
upgrade = {{ pip_upgrade }}
{% if pip_lock_to_internal_repo and pip_links | length > 0 %}
{% if pip_links | length > 0 %}
find-links =
{% for pip_link in pip_links %}
{{ pip_link.link }}