Buildout Support
for macOS
Ctrl+Alt+S
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):
- Add
buildout.cfg
andsetup.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 thebuildout
directory structure, downloadbuildout.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 inbuildout.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: 23 July 2018