Skip to content

Commit c893ffc

Browse files
committed
version bump 0.4.36
1 parent 3fc7314 commit c893ffc

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.4.36
2+
======
3+
4+
- [BUG]: Make this release only support TA-Lib 0.4.0
5+
16
0.4.35
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.4.35"
3+
version = "0.4.36"
44
dynamic = ["authors", "classifiers", "description", "license", "readme"]
55
dependencies = [
66
"setuptools",

setup.py

Lines changed: 3 additions & 13 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
66-
lib_talib_name = 'ta-lib' # the name as of TA-Lib 0.6.1
65+
lib_talib_name = 'ta_lib' # the name as of TA-Lib 0.4.0
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.4.35',
146+
version='0.4.36',
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.4.35'
135+
__version__ = '0.4.36'
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)