"c" is an alternative to distutils' Extension() support or Makefile compilation of simple extension modules.
It provides a meta_path hook that performs compilation and linkage of C, C++, or Objective-C source files upon import.
Any Python implementation providing a functional "sysconfig" module should work.
NOTE: Naturally, win32/win64 is not likely functional. Sorry.
Currently, there is no way to build out compilation and link parameters, but future version are planned to include a cute solution to the problem. (Likely, embedding pkgconfig and -framework references in the C source requiring them)
http://pypi.python.org/pypi/c
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
It provides a meta_path hook that performs compilation and linkage of C, C++, or Objective-C source files upon import.
Any Python implementation providing a functional "sysconfig" module should work.
NOTE: Naturally, win32/win64 is not likely functional. Sorry.
Currently, there is no way to build out compilation and link parameters, but future version are planned to include a cute solution to the problem. (Likely, embedding pkgconfig and -framework references in the C source requiring them)
http://pypi.python.org/pypi/c
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/