PyCharm 2020.3 Help

Buildout Support

File | Settings | Build, Execution, Deployment | Buildout for Windows and Linux
PyCharm | Preferences | Build, Execution, Deployment | Buildout for macOS
Ctrl+Alt+S
Icons general settings

ItemDescription
Projects

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

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.

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 April 2021