Skip to content

Conversation

rmax
Copy link
Contributor

@rmax rmax commented Jul 26, 2017

This allows to add extra pip arguments. For example, I'm using this feature to enable the cache directory:

custom:
  pythonRequirements:
      dockerizePip: true
      pipCmdExtraArgs:
          - --cache-dir
          - .requirements-cache

Let me know if the approach looks good (property naming, arguments as array).

Copy link
Contributor

@dschep dschep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks for the PR! I just ask that you add a little note about it in README.md as well 😉

@dschep dschep merged commit 4abd1ab into serverless:master Jul 29, 2017
dschep added a commit that referenced this pull request Jul 29, 2017
@rmax rmax changed the title [WIP] Add pipCmdExtraArgs property. Add pipCmdExtraArgs property. Jul 29, 2017
@rmax
Copy link
Contributor Author

rmax commented Jul 29, 2017

Oh, cool! Thanks for taking care of this.

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