PyCharm 2018.1 Help

Buildout Support

File | Settings | Buildout for Windows and Linux
PyCharm | Preferences | Buildout for macOS
Ctrl+Alt+S
settings


Use this page to configure Buildout support for each of the projects opened in the same window.

In this section:

Projects pane

ItemDescription
ProjectsThis pane displays the list of projects, opened in the same window. The first project in the list is the primary project.

Prerequisites

PyCharm recognizes buildout support in existing projects. However, you have to perform the following general steps as prerequisites (outside of PyCharm):

  1. Add buildout.cfg and setup.py files to the root directory of your project.
  2. Check out bootstrap.py and place it to the root directory of your project.
  3. Execute bootstrap.py to create the buildout directory structure, download buildout.exe, and the other dependencies.
  4. 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

ItemDescription
Enable buildout supportThis checkbox 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 scriptSelect 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.
Last modified: 23 July 2018

See Also

Language and Framework-Specific Guidelines: