Nupic.bindings build: Change in -DPY_EXTENSIONS_DIR cmake arg

I just merged the nupic.core PR https://github.com/numenta/nupic.core/pull/1285 that paves the way for completing capnp integration in nupic and nupic.core.

This PR necessitated a change to the value of the -DPY_EXTENSIONS_DIR arg that needs to be passed to cmake when building nupic.core for the nupic.bindings python package.

In the example below, please note the addition of the “src” directory component:

cmake $NUPIC_CORE -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=../release \
-DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/src/nupic/bindings.

FYI,
Vitaly

2 Likes