File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2020
2121platform_supported = False
2222
23+ lib_talib_name = 'ta-lib' # the name as of TA-Lib 0.6.1
24+
2325if any (s in sys .platform for s in ['darwin' , 'linux' , 'bsd' , 'sunos' ]):
2426 platform_supported = True
2527 include_dirs = [
4345
4446elif sys .platform == "win32" :
4547 platform_supported = True
46- lib_talib_name = 'ta_libc_cdr '
48+ lib_talib_name = 'ta-lib-static '
4749 include_dirs = [
4850 r"c:\ta-lib\c\include" ,
49- r"c:\Program Files\TA-Lib\include"
50- r"c:\Program Files (x86)\TA-Lib\include"
51+ r"c:\Program Files\TA-Lib\include" ,
52+ r"c:\Program Files (x86)\TA-Lib\include" ,
5153 ]
5254 library_dirs = [
53- r"c:\ta-lib\c\lib"
54- r"c:\Program Files\TA-Lib\lib"
55- r"c:\Program Files (x86)\TA-Lib\lib"
55+ r"c:\ta-lib\c\lib" ,
56+ r"c:\Program Files\TA-Lib\lib" ,
57+ r"c:\Program Files (x86)\TA-Lib\lib" ,
5658 ]
5759
5860if 'TA_INCLUDE_PATH' in os .environ :
7072except ImportError :
7173 has_cython = False
7274
73- lib_talib_name = 'ta-lib' # the name as of TA-Lib 0.6.1
74-
7575for path in library_dirs :
7676 try :
7777 files = os .listdir (path )
You can’t perform that action at this time.
0 commit comments