Skip to content

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