Graham Fawcett wrote:
> At the risk of sounding like a broken record, allow me to re-post my
> suggested modification to setup.py:
>
> try:
> core.setup(**kw)
>
> except SystemExit, errmsg:
> if not kw.has_key('ext_modules'):
> raise
> else:
> print '\a'
> print 'Could not build C implementation of htmltext! Reason:'
> print errmsg
> print 'Failing over to Python implementation.'
> del kw['ext_modules']
> core.setup(**kw)
Gosh, what happened to my indentation? Let me try again.
try:
core.setup(**kw)
except SystemExit, errmsg:
if not kw.has_key('ext_modules'):
raise
else:
print '\a'
print 'Could not build C implementation of htmltext! Reason:'
print errmsg
print 'Failing over to Python implementation.'
del kw['ext_modules']
core.setup(**kw)
--g.