File tree Expand file tree Collapse file tree 4 files changed +1
-41
lines changed Expand file tree Collapse file tree 4 files changed +1
-41
lines changed Original file line number Diff line number Diff line change 8
8
9
9
env :
10
10
TALIB_C_VER : ${{ github.ref_name }}
11
- TALIB_PY_VER : 0.6.0
11
+ TALIB_PY_VER : ${{ github.ref_name }}
12
12
13
13
jobs :
14
14
build_manylinux_x86_64 :
Original file line number Diff line number Diff line change @@ -13,30 +13,13 @@ if [ $? -ne 0 ]; then
13
13
exit 1
14
14
fi
15
15
16
- # Download TA-Lib Python
17
- curl -L -o talib-python.zip https://github.com/TA-Lib/ta-lib-python/archive/refs/tags/TA_Lib-${TALIB_PY_VER} .zip
18
- if [ $? -ne 0 ]; then
19
- echo " Failed to download TA-Lib Python library"
20
- exit 1
21
- fi
22
-
23
16
# Unzip TA-Lib C
24
17
unzip -q talib-c.zip
25
18
if [ $? -ne 0 ]; then
26
19
echo " Failed to extract TA-Lib C library"
27
20
exit 1
28
21
fi
29
22
30
- # Unzip TA-Lib Python
31
- unzip -q talib-python.zip -d ta-lib-python
32
- if [ $? -ne 0 ]; then
33
- echo " Failed to extract TA-Lib Python library"
34
- exit 1
35
- fi
36
-
37
- mv ta-lib-python/ta-lib-python-TA_Lib-${TALIB_PY_VER} /* .
38
- rm -r ta-lib-python
39
-
40
23
# cd to TA-Lib C
41
24
cd ta-lib-${TALIB_C_VER}
42
25
Original file line number Diff line number Diff line change @@ -13,30 +13,13 @@ if [ $? -ne 0 ]; then
13
13
exit 1
14
14
fi
15
15
16
- # Download TA-Lib Python
17
- curl -L -o talib-python.zip https://github.com/TA-Lib/ta-lib-python/archive/refs/tags/TA_Lib-${TALIB_PY_VER} .zip
18
- if [ $? -ne 0 ]; then
19
- echo " Failed to download TA-Lib Python library"
20
- exit 1
21
- fi
22
-
23
16
# Unzip TA-Lib C
24
17
unzip -q talib-c.zip
25
18
if [ $? -ne 0 ]; then
26
19
echo " Failed to extract TA-Lib C library"
27
20
exit 1
28
21
fi
29
22
30
- # Unzip TA-Lib Python
31
- unzip -q talib-python.zip -d ta-lib-python
32
- if [ $? -ne 0 ]; then
33
- echo " Failed to extract TA-Lib Python library"
34
- exit 1
35
- fi
36
-
37
- mv ta-lib-python/ta-lib-python-TA_Lib-${TALIB_PY_VER} /* .
38
- rm -r ta-lib-python
39
-
40
23
# cd to TA-Lib C
41
24
cd ta-lib-${TALIB_C_VER}
42
25
Original file line number Diff line number Diff line change @@ -11,15 +11,9 @@ set CMAKE_CONFIGURATION_TYPES=Release
11
11
curl -L -o talib-c.zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v%TALIB_C_VER% .zip
12
12
if errorlevel 1 exit /B 1
13
13
14
- curl -L -o talib-python.zip https://github.com/TA-Lib/ta-lib-python/archive/refs/tags/TA_Lib-%TALIB_PY_VER% .zip
15
- if errorlevel 1 exit /B 1
16
-
17
14
tar -xzvf talib-c.zip
18
15
if errorlevel 1 exit /B 1
19
16
20
- tar -xf talib-python.zip --strip-components=1
21
- if errorlevel 1 exit /B 1
22
-
23
17
:: git apply --verbose --binary talib.diff
24
18
:: if errorlevel 1 exit /B 1
25
19
You can’t perform that action at this time.
0 commit comments