Buildout
PyCharm supports buildout
in the following activities:
- Django server run/debug configurations.
- Django-enabled console.
-
Running the tasks of the
manage.py
utility.
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.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
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.
See Also
Reference:
Last modified: 20 April 2016