Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Grunwald 73e4ce3f8b #11: Allow defining python extension types
Highly incomplete initial version.
2015-05-27 21:19:32 +02:00
Daniel Grunwald 461255f3fa Merge branch 'master' of https://github.com/novocaine/rust-cpython 2015-05-17 20:47:48 +02:00
Daniel Grunwald 427cdf09f8 Fix building python27-sys without Py_USING_UNICODE. 2015-05-17 18:38:35 +02:00
James Salter b3e20e900b fix issues in bb13ec, support utf16, python fom PATH
* fix ucs4 build broken by bb13ec
* add utf16 decoding to unicode.from_py_object for
  narrow unicode builds
* change unicode narrow/wide cfg flag to be
  Py_UNICODE_SIZE_4 not Py_UNICODE_WIDE, which doesn't
  appear in sysconfig
* support framework builds on os x
* python27-sys exports compilation flags as cargo vars,
  and rust-python resurrects them as cfg flags
* travis runs against local python27-sys
* rust-cpython depends on git python27-sys, because
  the one on cargo is now incompatible with it (since bb13ec)
2015-05-17 13:20:58 +01:00
James Salter 6a41227969 dynamically determine python flags for cfg
* in build.rs, call the python interpreter located by pkgconfig
and use sysconfig to determine the flags it was built with.
* pass these flags to the build via --cfg
* refactor existing references to features to refer to these
instead
2015-05-13 19:03:13 +01:00
Daniel Grunwald b9b67ee932 Add fileobject, cobject and pycapsule headers 2015-05-07 23:18:48 +02:00
Daniel Grunwald bab3214595 Remove link attributes, we use pkg-config instead 2015-05-03 01:05:14 +02:00
Daniel Grunwald 6b5da09e79 Add python27-sys to rust-cpython repository 2015-04-26 10:34:31 +02:00