On Tue, 18 May 2010, Christian Heimes wrote:

Can you suggest a patch for this ?
It is not immediately obvious to me how to do this.

I've attached a quick patch. Sorry for all the noise, my editor is configured to reformat Python code.

The patch provides a custom build_py command class for distutils / setuptools. It writes jcc.config during the build_py phase if the file doesn't exist or a build command is provided on the command line.

I reworked your patch somewhat and integrated it.
It's checked in rev 945938.

I learned some distutils-fu along the way :)
Thank you for the contribution !

Andi..

Reply via email to