TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.49k stars 1.74k forks source link

Please use the TA_INCLUDE_PATH and TA_LIBRARY_PATH env variables on win32 #482

Closed mkelly1495 closed 2 years ago

mkelly1495 commented 2 years ago

Currently, the include and library paths for windows install are hardcoded to C:\ta-lib based directory. This is problematic if the ta-lib is not installed in the expected directory. The setup.py code reveals that the include and lib directories are hard coded to assume the location rooted at C:\ta-lib. It would be better to allow user to set the TA_INCLUDE_PATH and TA_LIBRARY_PATH environment variables (similar to what is done on Linux) in order to override the default location.

mrjbq7 commented 2 years ago

Fixed by Fixed by fbc436ba372d76063ccbe3d4d25e54945af40383.