Skip to content

Commit 750f4c9

Browse files
committed
Ensure requirements array is really array
This was passing a giant string of requirements to pip, as a single token. Now we pass each requirement as its own token. Fixes #17.
1 parent 7a688ac commit 750f4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda_uploader/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def install_requirements(self, requirements):
7575
LOG.debug("Installing requirements found %s in config"
7676
% requirements)
7777
cmd = [os.path.join(self._pkg_venv, self._venv_pip),
78-
'install', " ".join(requirements)]
78+
'install'] + requirements
7979

8080
elif os.path.isfile("requirements.txt"):
8181
# Pip install

0 commit comments

Comments
 (0)