serverless-package-python-functions icon indicating copy to clipboard operation
serverless-package-python-functions copied to clipboard

can I exclude the requirementsFile from the artifact?

Open iharush opened this issue 7 years ago • 2 comments

Hi How can I exclude the requirementsFile and the globalRequirements from the artifact? As it is not needed at run time.

Thanks, Itay

iharush avatar Nov 05 '17 09:11 iharush

If my pull request is accepted then you can define a 'globalExcludes' or 'exclude' per package. Also requirements.txt will be excluded by default

mvanderlee avatar Nov 07 '17 16:11 mvanderlee

looks good. Thanks.

I liked the part that you can enhance the "defaultExcludes" with configurable "globalExcludes".

Itay

iharush avatar Nov 08 '17 04:11 iharush