From 0c4b77610105f82687b46766389214ef2e87d0ad Mon Sep 17 00:00:00 2001 From: Gert Wohlgemuth Date: Thu, 17 May 2018 08:02:51 -0700 Subject: [PATCH] working on static library support --- freqtrade/aws/strategy.py | 12 ++++++++++++ requirements.txt | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/freqtrade/aws/strategy.py b/freqtrade/aws/strategy.py index d1c7bae6b..1f7b470dd 100644 --- a/freqtrade/aws/strategy.py +++ b/freqtrade/aws/strategy.py @@ -1,3 +1,15 @@ +import os +import ctypes + +for d, dirs, files in os.walk('lib'): + for f in files: + if f.endswith('.a'): + continue + ctypes.cdll.LoadLibrary(os.path.join(d, f)) + + + + from freqtrade.strategy.resolver import StrategyResolver import simplejson as json diff --git a/requirements.txt b/requirements.txt index a28840190..e5596d3dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ urllib3==1.22 wrapt==1.10.11 pandas==0.22.0 scikit-learn==0.19.1 -scipy==1.0.1 +scipy==1.1.0 jsonschema==2.6.0 numpy==1.14.3 TA-Lib==0.4.17