Skip to content

Commit 47a5157

Browse files
committed
version bump 0.6.0
1 parent 3d8abdc commit 47a5157

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.6.0
2+
=====
3+
4+
- [FIX]: Make sure this wrapper works with TA-Lib 0.6.1 and newer releases.
5+
16
0.5.2
27
=====
38

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ta-lib"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
dynamic = ["authors", "classifiers", "description", "license", "readme"]
55
dependencies = [
66
"setuptools",

setup.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,13 @@
6262
except ImportError:
6363
has_cython = False
6464

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

6867
for path in library_dirs:
6968
try:
7069
files = os.listdir(path)
71-
for f in files:
72-
for name in lib_talib_names:
73-
if name in f:
74-
lib_talib_name = name
75-
break
76-
else:
77-
continue
70+
if any(lib_talib_name in f for f in files):
7871
break
79-
else:
80-
continue
81-
break
8272
except OSError:
8373
pass
8474
else:
@@ -153,7 +143,7 @@ def build_extensions(self):
153143

154144
setup(
155145
name='TA-Lib',
156-
version='0.5.2',
146+
version='0.6.0',
157147
description='Python wrapper for TA-Lib',
158148
long_description=long_description,
159149
long_description_content_type='text/markdown',

talib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def wrapper(*args, **kwds):
132132
setattr(stream, func_name, wrapped_func)
133133
globals()[stream_func_name] = wrapped_func
134134

135-
__version__ = '0.5.2'
135+
__version__ = '0.6.0'
136136

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

0 commit comments

Comments
 (0)