Skip to content

Commit

Permalink
Merge pull request TA-Lib#83 from GaretJax/master
Browse files Browse the repository at this point in the history
Provide at least one user writable path
mrjbq7 committed May 31, 2015
2 parents bae1d01 + efb179b commit a109411
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -32,6 +32,8 @@
'/opt/include',
'/opt/local/include',
]
if 'TA_INCLUDE_PATH' in os.environ:
include_dirs.append(os.environ['TA_INCLUDE_PATH'])
lib_talib_dirs = [
'/usr/lib',
'/usr/local/lib',
@@ -40,6 +42,8 @@
'/opt/lib',
'/opt/local/lib',
]
if 'TA_LIBRARY_PATH' in os.environ:
lib_talib_dirs.append(os.environ['TA_LIBRARY_PATH'])
break

if sys.platform == "win32":

0 comments on commit a109411

Please sign in to comment.