This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

SyntaxErrors while running buildout tool

There are several SyntaxErrors while running buildout. Are these actual errors?

« Back to Table of Contents

These errors are not actual errors.

Plone uses RestrictedPython internally. RestrictedPython scripts have minor difference from vanilla Python source code modules, though both have .py extension.

Buildout uses setuptools to install Python packages. Setuptools wants to peak inside every .py file, including RestrictedPython files, even though it does not understand about them. This is why setuptools gives SyntaxError and it's not dangerous.