Skip to content

Commit

Permalink
Update TA-Lib installation script to version 0.6.1
Browse files Browse the repository at this point in the history
- Update wget command to download TA-Lib 0.6.1 source archive
- Modify tar extraction to match the new version's archive name
- Update directory path to match the extracted TA-Lib 0.6.1 archive
- Remove previous sed modification for floating-point precision
  • Loading branch information
saleh-mir committed Jan 28, 2025
1 parent 1942104 commit 935bed6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker_build_helpers/install_ta-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ else
fi
echo "Installing to ${INSTALL_LOC}"
if [ ! -f "${INSTALL_LOC}/lib/libta_lib.a" ]; then
tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib \
&& sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h \
wget https://github.com/TA-Lib/ta-lib/releases/download/v0.6.1/ta-lib-0.6.1-src.tar.gz -q
tar -xzf ta-lib-0.6.1-src.tar.gz
cd ta-lib-0.6.1/ \
&& ./configure --prefix=${INSTALL_LOC}/ \
&& make \
&& which sudo && sudo make install || make install \
Expand Down

0 comments on commit 935bed6

Please sign in to comment.