Message11124

Author stefan.richthofer
Recipients stefan.richthofer
Date 2017-02-24.13:03:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487941424.88.0.014488521792.issue2552@psf.upfronthosting.co.za>
In-reply-to
Content
Changing in Lib/distutils/jythoncompiler.py

raise CCompilerError('Compiling extensions is not supported on Jython')

to

warnings.warn('Compiling extensions is not supported on Jython')

solves this. I'd suggest to apply this. It might move some setup-time issues to import-time, but that's IMO preferable over refusing to setup workable libraries due to a maybe optional C-extension.
For non-optional C-extensions, users should be aware that "setup works" not yet means "import works" anyway.
History
Date User Action Args
2017-02-24 13:03:44stefan.richthofersetmessageid: <1487941424.88.0.014488521792.issue2552@psf.upfronthosting.co.za>
2017-02-24 13:03:44stefan.richthofersetrecipients: + stefan.richthofer
2017-02-24 13:03:44stefan.richthoferlinkissue2552 messages
2017-02-24 13:03:44stefan.richthofercreate