On Wed, 11 Mar 2009, Christian Heimes wrote:
Andi Vajda wrote:
Fixed. config.py is not written when 'build' is not in the command line
args anymore. I uploaded a new release candidate, rc2, to
http://people.apache.org/~vajda/staging_area.
Thank you for the bug report.
Your solution breaks an installation when a user doesn't call "python
setup.py build" before she uses "python setup.py install" to install JCC.
Does 'install' without 'build' invoke 'build' ?
If that's the case, then yeah, there is a problem and this should be backed
out. If not, then where is the problem ? 'install' without a prior 'build'
would make no sense, no ?
I think the best solution to the issue is a custom build_ext command
that writes the config file after the extensions have been build. If you
like I can try to come up with a suitable solution.
That may be a little heavy handed for such a uncommon problem but if you'd
like to give it try, by all means !!
Andi..