File | Settings | Buildout
In this section:
|Projects||This pane displays the list of projects, opened in the same window. The first project in the list is the primary project.|
This pane is not shown, if there is only one open project.
PyCharm recognizes buildout support in existing projects. However, you have to perform the following general steps as prerequisites (outside of PyCharm):
- Add buildout.cfg and setup.py files to the root directory of your project.
- Check out bootstrap.py and place it to the root directory of your project.
- Execute bootstrap.py to create the buildout directory structure, download buildout.exe, and the other dependencies.
- Execute bin\buildout.exe script. This will download the dependencies and generate a runner script for each of the parts listed in buildout.cfg.
Buildout support pane
|Enable buildout support||This check box is selected automatically, when PyCharm detects buildout in your project. In this case, all the references in the source code are resolved according to the settings specified in buildout.cfg file.|
|Use paths from script||Select the script that contains the paths to be used for resolving references in the source code. By default, PyCharm suggests buildout-script.py (for Windows) or buildout.sh (for the other operating systems). However, you can specify any of the runner scripts, generated by bin\buildout.exe, depending on the specific tasks of your project.|