mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
multiple source support
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user