Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.8.3
=====

- [NEW]: Source builds download and verify TA-Lib C 0.8.1, build it as a
- [NEW]: Source builds download and verify TA-Lib C 0.8.3, build it as a
static library and link it into the extension. A compiler, CMake and network
access are required; a separate TA-Lib C installation is no longer needed.
Generated C files remain included in source distributions.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ conda install -c conda-forge ta-lib
Binary wheels include the [TA-Lib](http://ta-lib.org) C library and do not
require a compiler or a separate TA-Lib C installation.

Starting with version 0.8.3, source builds download the pinned TA-Lib C 0.8.1
Starting with version 0.8.3, source builds download the pinned TA-Lib C 0.8.3
release, verify its checksum, and build and statically link it into the Python
extension. This requires network access, a C compiler and CMake. On Windows,
source builds require the Microsoft C++ Build Tools. CMake is installed
Expand Down Expand Up @@ -123,24 +123,24 @@ your-arm64-python -m pip install --no-cache-dir ta-lib

For 64-bit Windows, the easiest way is to get the *executable installer*:

1. Download [ta-lib-0.8.1-windows-x86_64.msi](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_64.msi).
1. Download [ta-lib-0.8.3-windows-x86_64.msi](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_64.msi).
2. Run the Installer or run `msiexec` [from the command-line](https://learn.microsoft.com/en-us/windows/win32/msi/standard-installer-command-line-options).

Alternatively, if you prefer to get the libraries without installing, or
would like to use the 32-bit version:

* Intel/AMD 64-bit [ta-lib-0.8.1-windows-x86_64.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_64.zip)
* Intel/AMD 32-bit [ta-lib-0.8.1-windows-x86_32.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-windows-x86_32.zip)
* Intel/AMD 64-bit [ta-lib-0.8.3-windows-x86_64.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_64.zip)
* Intel/AMD 32-bit [ta-lib-0.8.3-windows-x86_32.zip](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-windows-x86_32.zip)

#### Linux

Download
[ta-lib-0.8.1-src.tar.gz](https://github.com/ta-lib/ta-lib/releases/download/v0.8.1/ta-lib-0.8.1-src.tar.gz)
[ta-lib-0.8.3-src.tar.gz](https://github.com/ta-lib/ta-lib/releases/download/v0.8.3/ta-lib-0.8.3-src.tar.gz)
and:

```shell
tar -xzf ta-lib-0.8.1-src.tar.gz
cd ta-lib-0.8.1/
tar -xzf ta-lib-0.8.3-src.tar.gz
cd ta-lib-0.8.3/
./configure --prefix=/usr
make
sudo make install
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

import numpy

TALIB_C_VERSION = '0.8.1'
TALIB_C_SHA256 = 'ec59ccd88c0c77f618587d858787c8f9d06c40460a09d66751926f6fd670f985'
TALIB_C_VERSION = '0.8.3'
TALIB_C_SHA256 = '28b1179b178a0db15f3dad0d846ef77f18eb06db5dfc5b5a8ca153a9ea5d84e6'


def talib_source(directory):
Expand Down
2 changes: 1 addition & 1 deletion tools/build_talib_linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

TALIB_C_VER="${TALIB_C_VER:=0.8.1}"
TALIB_C_VER="${TALIB_C_VER:=0.8.3}"
CMAKE_GENERATOR="Unix Makefiles"
CMAKE_BUILD_TYPE=Release
CMAKE_CONFIGURATION_TYPES=Release
Expand Down
2 changes: 1 addition & 1 deletion tools/build_talib_macos.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

TALIB_C_VER="${TALIB_C_VER:=0.8.1}"
TALIB_C_VER="${TALIB_C_VER:=0.8.3}"
CMAKE_GENERATOR="Unix Makefiles"
CMAKE_BUILD_TYPE=Release
CMAKE_CONFIGURATION_TYPES=Release
Expand Down
2 changes: 1 addition & 1 deletion tools/build_talib_windows.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:: Download and build TA-Lib
@echo on

if not defined TALIB_C_VER set TALIB_C_VER=0.8.1
if not defined TALIB_C_VER set TALIB_C_VER=0.8.3

set CMAKE_GENERATOR=NMake Makefiles
set CMAKE_BUILD_TYPE=Release
Expand Down
Loading