PyCharm 2018.2 Help

Buildout Support

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


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

In this section:

Projects pane

Item

Description

Projects

This 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

Item

Description

Enable buildout support

This 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 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.

Last modified: 10 November 2018

See Also

Language and Framework-Specific Guidelines: