Skip to content

Commit

Permalink
setup.py: look in new locations
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Jan 14, 2025
1 parent 324c3de commit 7d4a606
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
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.6.0"
version = "0.6.1"
dynamic = ["authors", "classifiers", "description", "license", "readme"]
dependencies = [
"setuptools",
Expand Down
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@
elif sys.platform == "win32":
platform_supported = True
lib_talib_name = 'ta_libc_cdr'
include_dirs = [r"c:\ta-lib\c\include"]
library_dirs = [r"c:\ta-lib\c\lib"]
include_dirs = [
r"c:\ta-lib\c\include",
r"c:\Program Files\TA-Lib\include"
r"c:\Program Files (x86)\TA-Lib\include"
]
library_dirs = [
r"c:\ta-lib\c\lib"
r"c:\Program Files\TA-Lib\lib"
r"c:\Program Files (x86)\TA-Lib\lib"
]

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

setup(
name='TA-Lib',
version='0.6.0',
version='0.6.1',
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.6.0'
__version__ = '0.6.1'

# 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 7d4a606

Please sign in to comment.