Skip to main content

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:

  1. Add this setup_requires=[‘lambda_setuptools’] as an attribute to your _setup.py_ file

  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lambda-setuptools-0.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

lambda_setuptools-0.1.2-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page