A Command extension to setuptools that allows building an AWS Lamba dist
Project description
# lambda-setuptools ####A Command extension to setuptools that builds an AWS Lambda compatible zip file
Use is simple:
Add this setup_requires=[‘lambda_setuptools’] as an attribute to your _setup.py_ file
- Call python setup.py _ldist_
This will build (using bdist_wheel) and install your package, along with all of the dependencies in _install_requires_
- Zip the result up into an AWS Lambda compatible format
The result will be in _dist/[your-package-name]-lambda-[version].zip_ (along with your wheel)
Note that all other commands and attributes in setup.py will still work the way you expect them to.
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for lambda_setuptools-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd876b3ef272f59be2a9e68945c57f245e53db57eb0c8f23dd7652b41c11e0e |
|
MD5 | 5b8260f8a9a30d0c956e4b9db3006aac |
|
BLAKE2b-256 | 7594ae633f1b75ae84b073c774b2dd016afc80fb84b650a99571a0636aabb789 |