Hi Andrew,

On Mittwoch 02 Juli 2008, Andrew Straw wrote:
> I'm not sure if this will work, but it might:
>
> class NotPlatformDependentDistribution(Distribution):
>     # Force platform-independent build.
>     def has_ext_modules(self):
>         return False
>
> setup(
>       distclass = NotPlatformDependentDistribution,
>       )

First of all, thanks for your help. However, when I try your solution, it 
seems to disable the C extension outright, which is not what I'm going for. 
Instead, I would like setuptools to try the build and simply forget about it 
if it fails.

Can that be done somehow?

Thanks,
Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to