numenta/nupic.core — pull request #107 by DavidRagazzi (2014-06-06 14:06:41+00:00)
Title: Get path of a python module

This solves several issues related to `RuntimeError: Matching Python module for xxxxxxx not found`. This is crucial for `pip installable` PR as current errors at Travis are caused by these issues (`pip installable` PR doesn't use relative path like `lib\python${PYTHON_VERSION}\nupic`, but where NuPIC is currently installed on system).

Now we get the path of a python module using the own python interpreter, not more using $NTA. $NTA still is used for get `libcpp_region.so`, but in the future this dynamic library goes to the same place that compiled NuPIC modules, i.e. the system default location for python libraries.