Skip to content

Commit

Permalink
docs: Complete installation step with cleanup (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
selcukcihan authored Apr 26, 2023
1 parent bf135c2 commit 7a09c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/test/benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ Ensure dependencies are ensure in following folders (they can be installed via `

#### 1.2 Python

Ensure dependencies for the `serverless-aws-lambda-sdk` package beign installed as:
Ensure dependencies for the `serverless-aws-lambda-sdk` package being installed as:

```
python3 -m venv .venv
source .venv/bin/activate
rm -rf python/packages/aws-lambda-sdk/dist
python3 -m pip install serverless-aws-lambda-sdk --target=python/packages/aws-lambda-sdk/dist
```

Expand Down
3 changes: 3 additions & 0 deletions python/packages/aws-lambda-sdk/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ All created resourced are named or prefixed with `test-sdk-<testUid>` string, wh

The Python code subject to test, which will be packaged as a lambda layer, should be built in the `python/packages/aws-lambda-sdk/dist` folder. You can choose where to pull the dependencies from, they might be pulled from PyPI repository or you can use dependencies from the local repository.

### Before building
* Remove the target `dist` folder to make sure packages from previous runs do not interfere: `rm -rf python/packages/aws-lambda-sdk/dist`

### A. Build code from PyPI repository

```bash
Expand Down

0 comments on commit 7a09c62

Please sign in to comment.