multiple source support

This commit is contained in:
Nate Prewitt
2017-02-19 13:34:06 -07:00
parent b4d16d0077
commit 67e090f2d7
2 changed files with 3 additions and 6 deletions
+2
View File
@@ -1,3 +1,5 @@
3.5.0
- Fully support multiple sources in Pipfile.
3.4.2
- Attempt installing from all sources in Pipfile.
- Fix bug with accidental deletion of Pipfile contents.
+1 -6
View File
@@ -566,12 +566,7 @@ def pip_install(package_name=None, r=None, allow_global=False):
def pip_download(package_name):
for source in project.sources:
cmd = '{0} download "{1}" -i {2} -d {3}'.format(
which_pip(),
package_name,
source['url'],
project.download_location
)
cmd = '{0} download "{1}" -i {2} -d {3}'.format(which_pip(), package_name, source['url'], project.download_location)
c = delegator.run(cmd)
if c.return_code == 0:
break