Commit Graph

6 Commits

Author SHA1 Message Date
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