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


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

c 0.5.0 Release: Compile extension modules on Import

From James Pye <james.pye@gmail.com>
Newsgroups comp.lang.python.announce
Subject c 0.5.0 Release: Compile extension modules on Import
Date 2012-08-05 13:50 -0700
Organization http://groups.google.com
Message-ID <mailman.3006.1344263361.4697.python-announce-list@python.org> (permalink)

Show all headers | View raw


"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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web