PyCharm supports buildout in the following activities:
- Django server run/debug configurations.
- Django-enabled console.
-
Running the tasks of the
manage.pyutility.
In this section:
Prerequisites
PyCharm recognizes buildout support in existing projects.
However, you have to perform the following general steps as prerequisites
(outside of PyCharm):
- Add
buildout.cfgandsetup.pyfiles to the root directory of your project. - Check out
bootstrap.pyand place it to the root directory of your project. - Execute
bootstrap.pyto create thebuildoutdirectory structure, downloadbuildout.exe, and the other dependencies. - Execute
bin\buildout.exescript. This will download the dependencies and generate a runner script for each of the parts listed inbuildout.cfg.
Buildout support
Buildout files are marked with
icon.
Buildout support includes:
- capability to enable Buildout support for a project, and specify the script to be used for resolving references in the source code.
- Code completion.
- Error and syntax highlighting.
- Code formatting and folding.
