nficano / python-lambda

A toolkit for developing and deploying serverless Python code in AWS Lambda.
ISC License
1.5k stars 229 forks source link

Feature request: Support for Poetry dev separation #710

Open eliorc opened 2 years ago

eliorc commented 2 years ago

Using the Poetry package manager, it is possible to separate standard packages, from packages you only need for development.

For instance, I might develop some code and would install python-lambda because I need it for development and packaging, but I don't actually need it in the actual lambda code environment. For this purpose, Poetry has the ability to install package under the --dev flag so you can separate operational packages from development packages.

It would be great if python-lambda would support the ability to install only operational packages (so we can keep the zip as small as possible)