On Tue, Feb 23, 2010 at 1:50 PM, Maciej Fijalkowski <fij...@gmail.com> wrote:
> Hello.
>
> I would like to have a feature on platform module (or sys or
> somewhere) that can tell distutils or distutils2 that this platform
> (be it PyPy or Jython) is not able to compile any C module. The
> purpose of this is to make distutils bail out in more reasonable
> manner than a compilation error in case this module is not going to
> work on anything but CPython.
>
> What do you think?

+1

I think we could have a global variable in sys, called "dont_compile",
distutils would look at
before it tris to compile stuff, exactly like how it does for pyc file
(sys.dont_write_bytecode)

Regards
Tarek
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to