A Command extension to setuptools that allows building an AWS Lamba dist
Project description
# setuptools-lambda-dist-extension ####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.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d13f974f32b7efeee30509e094f1ef7be98b93ea20fd411c478506fb6367dd4 |
|
MD5 | 69d01c4592d5778bc6204a5791ed7df1 |
|
BLAKE2b-256 | b522012bec9693b4d304ef8cbe2c0d6574f1fd4a3d1cba509f0ff604b0d6ad69 |