From 7dc71e904e3ff65ab3fee7a0f61130734de78115 Mon Sep 17 00:00:00 2001 From: Gert Wohlgemuth Date: Thu, 17 May 2018 00:02:16 -0700 Subject: [PATCH] working on deploying to aws, failing due to dynamic lib, needs to be a static ta-lib --- requirements.txt | 2 +- serverless.yml | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8eb3a23fd..a28840190 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ hyperopt==0.1 networkx==1.11 tabulate==0.8.2 coinmarketcap==4.2.1 - +simplejson # Required for plotting data #plotly==2.3.0 diff --git a/serverless.yml b/serverless.yml index 9359ea467..5f71e65d0 100644 --- a/serverless.yml +++ b/serverless.yml @@ -62,7 +62,23 @@ custom: createRoute53Record: true pythonRequirements: - dockerizePip: non-linux + slim: true + invalidateCaches: true + dockerizePip: false + noDeploy: + - pytest + - moto + - plotly + - boto3 + - pytest-mock + - pytest-cov + - pymongo +package: + exclude: + - test/** + - __pycache__/** + - node_modules/** + ############################################################################################ # this section defines all lambda function and triggers ############################################################################################