This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zooko
Recipients tarek, zooko
Date 2009-01-28.00:03:15
SpamBayes Score 8.1546875e-10
Marked as misclassified No
Message-id <1233100998.57.0.28577423806.issue4706@psf.upfronthosting.co.za>
In-reply-to
Content
Tarek:

Yes, failure to build an extension module for any reason should
definitely cause "build" to fail by default.  However, many Python
packages seem to come with optional extension modules, typically for a
performance speed-up.  simplejson, zope.interface, and twisted all do
this (these are three packages that allmydata-tahoe depends on).  My own
pyutil package used to do this, but I eventually just removed the
optional C extension module in order to avoid this problem.  So, for
those it would be good if the package setup.py could specify that an
extension module is optional and that failure to build it for any reason
does not mean failure of the "build".

Note that twisted's setup.py already attempts to do this for certain of
its extension modules, and if I understand correctly it is able to
detect and handle failure to build if gcc fails, but not if gcc is absent.
History
Date User Action Args
2009-01-28 00:03:18zookosetrecipients: + zooko, tarek
2009-01-28 00:03:18zookosetmessageid: <1233100998.57.0.28577423806.issue4706@psf.upfronthosting.co.za>
2009-01-28 00:03:16zookolinkissue4706 messages
2009-01-28 00:03:15zookocreate