Skip to content

Commit

Permalink
version bump 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jan 1, 2025
1 parent 3d8abdc commit 47a5157
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.6.0
=====

- [FIX]: Make sure this wrapper works with TA-Lib 0.6.1 and newer releases.

0.5.2
=====

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ta-lib"
version = "0.5.2"
version = "0.6.0"
dynamic = ["authors", "classifiers", "description", "license", "readme"]
dependencies = [
"setuptools",
Expand Down
14 changes: 2 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,13 @@
except ImportError:
has_cython = False

lib_talib_names = ['ta-lib', 'ta_lib'] # the underlying C library's name
lib_talib_name = 'ta-lib' # the name as of TA-Lib 0.6.1

for path in library_dirs:
try:
files = os.listdir(path)
for f in files:
for name in lib_talib_names:
if name in f:
lib_talib_name = name
break
else:
continue
if any(lib_talib_name in f for f in files):
break
else:
continue
break
except OSError:
pass
else:
Expand Down Expand Up @@ -153,7 +143,7 @@ def build_extensions(self):

setup(
name='TA-Lib',
version='0.5.2',
version='0.6.0',
description='Python wrapper for TA-Lib',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion talib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def wrapper(*args, **kwds):
setattr(stream, func_name, wrapped_func)
globals()[stream_func_name] = wrapped_func

__version__ = '0.5.2'
__version__ = '0.6.0'

# In order to use this python library, talib (i.e. this __file__) will be
# imported at some point, either explicitly or indirectly via talib.func
Expand Down

0 comments on commit 47a5157

Please sign in to comment.