##// END OF EJS Templates
rust: jettison Python 2 support...
Augie Fackler -
r49694:7b068abe default
parent child Browse files
Show More
@@ -166,7 +166,6 b' dependencies = ['
166 166 "libc",
167 167 "num-traits",
168 168 "paste",
169 "python27-sys",
170 169 "python3-sys",
171 170 ]
172 171
@@ -671,16 +670,6 b' dependencies = ['
671 670 ]
672 671
673 672 [[package]]
674 name = "python27-sys"
675 version = "0.7.0"
676 source = "registry+https://github.com/rust-lang/crates.io-index"
677 checksum = "94670354e264300dde81a5864cbb6bfc9d56ac3dcf3a278c32cb52f816f4dfd1"
678 dependencies = [
679 "libc",
680 "regex",
681 ]
682
683 [[package]]
684 673 name = "python3-sys"
685 674 version = "0.7.0"
686 675 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12,12 +12,10 b' crate-type = ["cdylib"]'
12 12 default = ["python3"]
13 13
14 14 # Features to build an extension module:
15 python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"]
16 15 python3 = ["cpython/python3-sys", "cpython/extension-module"]
17 16
18 # Enable one of these features to build a test executable linked to libpython:
19 # e.g. cargo test --no-default-features --features python27-bin
20 python27-bin = ["cpython/python27-sys"]
17 # Enable this feature to build a test executable linked to libpython:
18 # e.g. cargo test --no-default-features --features python3-bin
21 19 python3-bin = ["cpython/python3-sys"]
22 20
23 21 [dependencies]
@@ -29,4 +27,3 b' log = "0.4.8"'
29 27 env_logger = "0.7.1"
30 28 stable_deref_trait = "1.2.0"
31 29 vcsgraph = "0.2.0"
32
@@ -62,7 +62,7 b' py_module_initializer!(rustext, initrust'
62 62 Ok(())
63 63 });
64 64
65 #[cfg(not(any(feature = "python27-bin", feature = "python3-bin")))]
65 #[cfg(not(feature = "python3-bin"))]
66 66 #[test]
67 67 #[ignore]
68 68 fn libpython_must_be_linked_to_run_tests() {
General Comments 0
You need to be logged in to leave comments. Login now