Skip to content

Commit e49d469

Browse files
committed
Adding Apple Silicon default location for TA-Lib.
1 parent 48c0bed commit e49d469

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'/opt/include',
2929
'/opt/local/include',
3030
'/opt/homebrew/include',
31+
'/opt/homebrew/opt/ta-lib/include',
3132
]
3233
if 'TA_INCLUDE_PATH' in os.environ:
3334
include_dirs.append(os.environ['TA_INCLUDE_PATH'])
@@ -39,6 +40,7 @@
3940
'/opt/lib',
4041
'/opt/local/lib',
4142
'/opt/homebrew/lib',
43+
'/opt/homebrew/opt/ta-lib/lib',
4244
]
4345
if 'TA_LIBRARY_PATH' in os.environ:
4446
runtime_lib_dirs = os.environ['TA_LIBRARY_PATH']

0 commit comments

Comments
 (0)