Skip to content

Add support for custom pip arguments and exclude option #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mvanderlee
Copy link

@mvanderlee mvanderlee commented Nov 7, 2017

Fixes Issues #23 and #24

Add ability to exclude glob patterns and exclude the following by default:
* "**/.serverless",
* "**/node_modules",
* "**/requirements.txt",
* "**/package.json",
*  "**/package-lock.json"
@mvanderlee mvanderlee changed the title Add support for custom pip arguments Add support for custom pip arguments and exclude option Nov 7, 2017
mvanderlee and others added 7 commits April 3, 2018 14:03
By excluding the function's requirements file it wasn't actually installed anymore
Ensuring a function's requirements file overrides the global one.
Previously, every time a new version came out, this would simply fail until you updated pip. This obviously shouldn't happen.
Pip 10 will log error messages about broken dependencies. This is interpreted by serverless as an actual error and we don't want that. 
So disable the check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants