Skip to content

Commit e72bfbb

Browse files
committed
Merge branch 'master' of github.com:nficano/python-lambda
* 'master' of github.com:nficano/python-lambda: Add installing text remove -e Remove git source conditional
2 parents 0adc4b4 + bc7d528 commit e72bfbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

aws_lambda/aws_lambda.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,13 @@ def pip_install_to_target(path, local_package=None):
203203
"""
204204
print('Gathering pip packages')
205205
for r in pip.operations.freeze.freeze():
206-
if r.startswith('Python==') or r.startswith('-e git+git'):
206+
if r.startswith('Python=='):
207207
# For some reason Python is coming up in pip freeze.
208208
continue
209+
elif r.startswith('-e '):
210+
r = r.replace('-e ','')
211+
212+
print('Installing {package}'.format(package=r))
209213
pip.main(['install', r, '-t', path, '--ignore-installed'])
210214

211215
if local_package is not None:

0 commit comments

Comments
 (0)