Skip to content

Commit 7d4a606

Browse files
committed
setup.py: look in new locations
1 parent 324c3de commit 7d4a606

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

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.6.0"
3+
version = "0.6.1"
44
dynamic = ["authors", "classifiers", "description", "license", "readme"]
55
dependencies = [
66
"setuptools",

setup.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,16 @@
4444
elif sys.platform == "win32":
4545
platform_supported = True
4646
lib_talib_name = 'ta_libc_cdr'
47-
include_dirs = [r"c:\ta-lib\c\include"]
48-
library_dirs = [r"c:\ta-lib\c\lib"]
47+
include_dirs = [
48+
r"c:\ta-lib\c\include",
49+
r"c:\Program Files\TA-Lib\include"
50+
r"c:\Program Files (x86)\TA-Lib\include"
51+
]
52+
library_dirs = [
53+
r"c:\ta-lib\c\lib"
54+
r"c:\Program Files\TA-Lib\lib"
55+
r"c:\Program Files (x86)\TA-Lib\lib"
56+
]
4957

5058
if 'TA_INCLUDE_PATH' in os.environ:
5159
include_dirs = os.environ['TA_INCLUDE_PATH'].split(os.pathsep)
@@ -143,7 +151,7 @@ def build_extensions(self):
143151

144152
setup(
145153
name='TA-Lib',
146-
version='0.6.0',
154+
version='0.6.1',
147155
description='Python wrapper for TA-Lib',
148156
long_description=long_description,
149157
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.6.0'
135+
__version__ = '0.6.1'
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)