Use setuptools, and override the build_ext subcommand to build nupic.core and nupic using cmake and make