Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

Add option to install a local package to be deployed as well#7

Merged
nficano merged 1 commit into
nficano:masterfrom
quiqua:local_package
May 25, 2016
Merged

Add option to install a local package to be deployed as well#7
nficano merged 1 commit into
nficano:masterfrom
quiqua:local_package

Conversation

@quiqua

@quiqua quiqua commented May 19, 2016

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants