[Distutils] any way to stop buildout/setuptools compiling things that aren't python?
ziade.tarek at gmail.com
Thu Aug 26 23:33:42 CEST 2010
On Thu, Aug 26, 2010 at 1:30 PM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
> Some packages include things which aren't python, they may even have .py
> extensions though.
> Installing these using easy_install/buildout/pip/etc results in this kind of
> (harmless) ugliness:
> SyntaxError: ("'return' outside function",
> 21, None, 'return statuses\n'))
> How can I make that not happen?
By preventing Distutils to do the bytecode compiling when it
builds/install the package.
(this was discussed lately as a possible change)
The other option is to have the ZSyncer project treat these files as
data files, so they
don't get compiled
> Simplistix - Content Management, Batch Processing & Python Consulting
> - http://www.simplistix.co.uk
> Distutils-SIG maillist - Distutils-SIG at python.org
Tarek Ziadé | http://ziade.org
More information about the Distutils-SIG