Skip to content

Commit 670c612

Browse files
committed
bug fix
1 parent d45eacc commit 670c612

File tree

4 files changed

+1
-41
lines changed

4 files changed

+1
-41
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
TALIB_C_VER: ${{ github.ref_name }}
11-
TALIB_PY_VER: 0.6.0
11+
TALIB_PY_VER: ${{ github.ref_name }}
1212

1313
jobs:
1414
build_manylinux_x86_64:

tools/build_wheel_linux.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,13 @@ if [ $? -ne 0 ]; then
1313
exit 1
1414
fi
1515

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-
2316
# Unzip TA-Lib C
2417
unzip -q talib-c.zip
2518
if [ $? -ne 0 ]; then
2619
echo "Failed to extract TA-Lib C library"
2720
exit 1
2821
fi
2922

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-
4023
# cd to TA-Lib C
4124
cd ta-lib-${TALIB_C_VER}
4225

tools/build_wheel_macos.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,13 @@ if [ $? -ne 0 ]; then
1313
exit 1
1414
fi
1515

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-
2316
# Unzip TA-Lib C
2417
unzip -q talib-c.zip
2518
if [ $? -ne 0 ]; then
2619
echo "Failed to extract TA-Lib C library"
2720
exit 1
2821
fi
2922

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-
4023
# cd to TA-Lib C
4124
cd ta-lib-${TALIB_C_VER}
4225

tools/build_wheel_windows.cmd

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ set CMAKE_CONFIGURATION_TYPES=Release
1111
curl -L -o talib-c.zip https://github.com/TA-Lib/ta-lib/archive/refs/tags/v%TALIB_C_VER%.zip
1212
if errorlevel 1 exit /B 1
1313

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-
1714
tar -xzvf talib-c.zip
1815
if errorlevel 1 exit /B 1
1916

20-
tar -xf talib-python.zip --strip-components=1
21-
if errorlevel 1 exit /B 1
22-
2317
:: git apply --verbose --binary talib.diff
2418
:: if errorlevel 1 exit /B 1
2519

0 commit comments

Comments
 (0)