forked from numenta/nupic-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Development Tips
rhyolight edited this page Oct 10, 2014
·
2 revisions
If you're a developer, and you don't want to recompiled with every python change, you should build nupic with this command:
python setup.py develop
Setting up Git Hooks
Both nupic and nupic.core have git hooks in the .githooks folder of each respective repository. To put the hooks in place, check the README.md in the .githooks directory.
The following instructions will work in the most Python IDEs:
- Open your IDE.
- Open a project specifying the $NUPIC repository folder as location.
- Click with mouse right button on
setup.pyfile listed on project files and selectRuncommand on pop-up menu. This will call the build process. Checkoutputpanel to see the result. - If the build was successful, just click in any file with
run_*prefix in/scriptsfolder and voilà!
If you don't have a favourite Python IDE, this article can help you to choose one: http://pedrokroger.net/choosing-best-python-ide/
Clean all compiled files:
make clean
Clean for new distribution installation:
make distclean
See the User Overrides section on the NuPIC's Dependency on nupic.core page.
-Maintained by the NuPIC Community.