Serverless Python Requirements Component
npm install @slsplus/python-requirements
> Notice: This project is a rewrite from serverless-python-requirements which is a serverless plugin.
Serverless Python Requirements Component
1. Install
2. Create
3. Configure
4. Deploy
5. Remove
Install the Serverless Framework globally:
``shell`
$ npm install -g serverless
Just create the following simple boilerplate:
`shell`
$ touch serverless.yml
`ymlserverless.yml
MyComponent:
component: '@slsplus/python-requirements'
inputs:
codeUri: ./
include:
- handler.py
dockerizePip: true
zip: true
`
`shell`
$ sls --debug
`shell``
$ sls remove --debug
Checkout the Serverless Components repo for more information.