Skip to content

Commit 7798119

Browse files
authored
Update package.py
install_pip_requirements: fixing `--target` section of pip install, following aws documentation (https://docs.aws.amazon.com/lambda/latest/dg/python-layers.html)
1 parent f1f06ed commit 7798119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ def install_pip_requirements(query, requirements_file, tmp_dir):
11231123
"install",
11241124
"--no-compile",
11251125
"--prefix=",
1126-
"--target=.",
1126+
"--target=python/.",
11271127
"--requirement={}".format(requirements_filename),
11281128
]
11291129
if docker:

0 commit comments

Comments
 (0)