# Development Tips

**URL:** <https://discourse.numenta.org/t/development-tips/2140>\
**Category:** NuPIC\
**Tags:** development, contributing, nupic-wiki\
**Created:** [April 6, 2017, 6:53pm UTC](https://discourse.numenta.org/t/development-tips/2140 "2017-04-06T18:53:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [April 6, 2017, 6:53pm UTC](https://discourse.numenta.org/t/development-tips/2140/1 "2017-04-06T18:53:39Z")

</div>

## Developing with NuPIC

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](http://git-scm.com/book/en/Customizing-Git-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.

## Using an IDE

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.py` file listed on project files and select `Run` command on pop-up menu. This will call the build process. Check `output` panel to see the result.
- If the build was successful, just click in any file with `run_*` prefix in `/scripts` folder 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/](http://pedrokroger.net/choosing-best-python-ide/)

## A Clean Build

Clean all compiled files:

```
make clean

```

Clean for new distribution installation:

```
make distclean
```
