Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Grunwald 29693eec12 python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00
Daniel Grunwald dae7c891dc #16: Try "python" first and only try "pythonX" or "pythonX.Y" if the previous
tries result in the wrong python version.
2015-07-04 18:46:37 +02:00
Daniel Grunwald 43552a075d Enable python 3 CI 2015-06-28 21:46:24 +02:00
Daniel Grunwald 2904330b1c Improve build.rs when configuring using the python in PATH
* First try "pythonX.Y" and
  "pythonX" before using the generic "python"
* Use LDVERSION to detect 'dmu' suffix (PEP-3149)
2015-06-28 21:45:53 +02:00
Daniel Grunwald a2eb6de523 Add windows CI.
Due to the linker troubles (#10), we only build the rlib and don't run any tests.
2015-06-27 15:15:06 +02:00
Daniel Grunwald cc2d30db58 Use pkg-config 0.3.5 2015-06-18 22:50:15 +02:00
James Salter 387ca4b2d9 Merge branch 'master' of https://github.com/dgrunwald/rust-cpython 2015-05-30 17:09:36 +01:00
James Salter 981928a2f4 re-apply e84818 2015-05-30 16:59:58 +01:00
James Salter 34ac5845b0 clone build.rs from python27 into python3 2015-05-28 11:28:59 +01:00
Daniel Grunwald e848189692 Fix python 3 linux build. 2015-05-26 19:37:08 +02:00
James Salter 124a85d749 can build with only a major python 3 version 2015-05-25 15:38:21 +01:00
Daniel Grunwald 8c8779e3fb py_module_initializer! for python 3 2015-05-24 20:06:08 +02:00
Daniel Grunwald 38b5971e56 python3-sys: use cfg(py_sys_config=..) instead of cfg(feature=..) 2015-05-23 18:20:49 +02:00
James Salter b1eca56ec3 Python 3 build support
* Add python3-sys to rust-cpython as an optional feature, and
  make python27-sys also optional, but still the default
* Parametrise python27-sys/build.rs so that it is python
  version independent, and clone it into python3-sys/build.rs.
  Hopefully this can continue to be maintained as an identical
  file.
* python27-sys and python3-sys gain features for explicitly
  selecting a python version to link to. for python27-sys,
  there's currently only python27; for python3-sys there's
  python 3.4 and 3.5.
* explicitly tell travis to use nightlies (seems to have
  started trying to use 1.0.0)
2015-05-23 15:23:08 +01:00
Daniel Grunwald b2293e593e crates.io doesn't accept dots in feature names 2015-05-03 00:39:03 +02:00
Daniel Grunwald 5594db8261 Add python3-sys 2015-04-26 10:32:58 +02:00