forked from open-telemetry/opentelemetry-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
pip
to python -m pip
to fix pip install warning in SAM bui…
…ld (open-telemetry#81) * bump python sdk to 1.10/0.20b0 * add lambda resource attributes by env variable * change Lambda function span kind to server * bump collector to 0.25 * panic * update pip to pythong -m pip, fix pip install warning
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
mkdir -p build/python | ||
pip3 install -r function/requirements.txt -t build/python | ||
python3 -m pip install -r function/requirements.txt -t build/python | ||
cp function/lambda_function.py -t build/python | ||
cd build/python || exit | ||
zip -r ../function.zip * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters