2015-01-05 16:05:53 +00:00
|
|
|
[package]
|
|
|
|
|
2015-01-04 23:07:31 +00:00
|
|
|
name = "cpython"
|
2016-12-17 20:41:14 +00:00
|
|
|
version = "0.1.0"
|
2015-07-04 18:28:40 +00:00
|
|
|
description = "Bindings to Python"
|
2015-01-05 16:05:53 +00:00
|
|
|
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
|
2015-04-19 05:50:50 +00:00
|
|
|
readme = "README.md"
|
|
|
|
keywords = [
|
|
|
|
"python",
|
|
|
|
"cpython",
|
|
|
|
"libpython27",
|
|
|
|
]
|
|
|
|
homepage = "https://github.com/dgrunwald/rust-cpython"
|
|
|
|
repository = "https://github.com/dgrunwald/rust-cpython.git"
|
|
|
|
documentation = "http://dgrunwald.github.io/rust-cpython/doc/cpython/"
|
|
|
|
license = "MIT"
|
|
|
|
exclude = [
|
|
|
|
".gitignore",
|
|
|
|
".travis.yml",
|
2015-07-04 18:28:40 +00:00
|
|
|
"appveyor.yml",
|
|
|
|
".cargo/config",
|
2015-05-17 19:35:04 +00:00
|
|
|
"python27-sys",
|
2015-09-19 13:37:29 +00:00
|
|
|
"python3-sys",
|
2016-12-17 20:41:14 +00:00
|
|
|
"extensions"
|
2015-04-19 05:50:50 +00:00
|
|
|
]
|
2015-05-17 12:14:47 +00:00
|
|
|
build = "build.rs"
|
2015-01-05 16:05:53 +00:00
|
|
|
|
2015-03-08 14:29:44 +00:00
|
|
|
[dependencies]
|
2015-11-07 16:10:20 +00:00
|
|
|
libc = "0.2"
|
2016-04-17 21:35:17 +00:00
|
|
|
num-traits = "0.1"
|
2015-05-17 12:14:47 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
# These features are both optional, but you must pick one to
|
|
|
|
# indicate which python ffi you are trying to bind to.
|
2015-05-17 12:14:47 +00:00
|
|
|
[dependencies.python27-sys]
|
2015-05-19 21:32:32 +00:00
|
|
|
optional = true
|
2015-11-11 22:40:31 +00:00
|
|
|
path = "python27-sys"
|
2016-12-17 20:29:02 +00:00
|
|
|
version = "0.1.2"
|
2015-05-17 19:35:04 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
[dependencies.python3-sys]
|
2015-07-04 18:28:40 +00:00
|
|
|
optional = true
|
2015-11-11 22:40:31 +00:00
|
|
|
path = "python3-sys"
|
2016-12-17 20:29:02 +00:00
|
|
|
version = "0.1.3"
|
2015-05-19 21:32:32 +00:00
|
|
|
|
|
|
|
[features]
|
2015-06-27 21:50:50 +00:00
|
|
|
default = ["python3-sys"]
|
2015-05-25 13:41:26 +00:00
|
|
|
|
2016-03-05 23:03:17 +00:00
|
|
|
# Enable additional features that require nightly rust
|
|
|
|
nightly = []
|
|
|
|
|
2016-12-17 20:17:11 +00:00
|
|
|
# Use this feature when building an extension module.
|
|
|
|
# It tells the linker to keep the python symbols unresolved,
|
|
|
|
# so that the module can also be used with statically linked python interpreters.
|
|
|
|
extension-module = [ "python3-sys/extension-module" ]
|
|
|
|
|
|
|
|
# Unfortunately we can't use the forward the same feature to either python27-sys
|
|
|
|
# or python3-sys. (honestly, we should probably merge both crates into 'python-sys')
|
|
|
|
extension-module-2-7 = [ "python27-sys/extension-module" ]
|
|
|
|
|
|
|
|
|
2015-05-25 13:41:26 +00:00
|
|
|
# Optional features to support explicitly specifying python minor version.
|
|
|
|
# If you don't care which minor version, just specify python3-sys as a
|
|
|
|
# feature.
|
2016-12-10 10:27:52 +00:00
|
|
|
python-3-6 = ["python3-sys/python-3-6"]
|
2015-05-25 13:41:26 +00:00
|
|
|
python-3-5 = ["python3-sys/python-3-5"]
|
|
|
|
python-3-4 = ["python3-sys/python-3-4"]
|
2015-09-19 13:37:29 +00:00
|
|
|
|
|
|
|
#pep-384 = ["python3-sys/pep-384"]
|
|
|
|
|
2016-12-17 20:17:11 +00:00
|
|
|
[workspace]
|
|
|
|
members = ["python27-sys", "python3-sys", "extensions/hello"]
|
|
|
|
|