Skip to content

Conversation

@quiqua
Copy link
Contributor

@quiqua quiqua commented May 19, 2016

If you want to deploy your lambda function and need a dependency which
is not available on PyPi, but only to your local machine (private package, ...)
you can now add this to the dist archive as well.

For both, the build and deploy option, an optional argument --local-package
can be provided with the path to the package you want to install via pip.
Your package needs to have a setup.py file.

Example:
$ lambda build --local-package .

If you want to deploy your lambda function and need a dependency which
is not available on PyPi, but only to your local machine (private package, ...)
you can now add this to the dist archive as well.

For both, the `build` and `deploy` option, an optional argument `--local-package`
can be provided with the path to the package you want to install via pip.
Your package needs to have a `setup.py` file.

Example:
    $ lambda build --local-package .
@nficano nficano merged commit 86343eb into nficano:master May 25, 2016
@quiqua quiqua deleted the local_package branch May 25, 2016 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants