Since some of the python packages need to be compiled with Cython (or other compiler), we cannot compile those packages in windows directly, therefore, the powershell script in this repo build the packages with Docker (using the image lambci/lambda:build-python3.7 used by AWS Lambda).
- create a folder call
pythonin the directory of the repo - modify
requirements.txt - run
.\build_layer.ps1in poweshell - zip
pythonfolder to<any name you like>.zip - upload to AWS Lambda Layer
Happy coding~