Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #641 > unrolled thread

c 0.5.0 Release: Compile extension modules on Import

Started byJames Pye <james.pye@gmail.com>
First post2012-08-05 13:50 -0700
Last post2012-08-05 13:50 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  c 0.5.0 Release: Compile extension modules on Import James Pye <james.pye@gmail.com> - 2012-08-05 13:50 -0700

#641 — c 0.5.0 Release: Compile extension modules on Import

FromJames Pye <james.pye@gmail.com>
Date2012-08-05 13:50 -0700
Subjectc 0.5.0 Release: Compile extension modules on Import
Message-ID<mailman.3006.1344263361.4697.python-announce-list@python.org>
"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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web