[package]
name = "cpython"
version = "0.3.0"
description = "Bindings to Python"
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
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/"
categories = ["api-bindings", "development-tools::ffi"]
license = "MIT"
exclude = [
"/.gitignore",
"/.travis.yml",
"/appveyor.yml",
"/.cargo/config",
"/python27-sys/**",
"/python3-sys/**",
"/extensions/**"
]
build = "build.rs"
[badges]
travis-ci = { repository = "dgrunwald/rust-cpython" }
appveyor = { repository = "dgrunwald/rust-cpython" }
[dependencies]
libc = "0.2"
num-traits = "0.2"
[dependencies.python27-sys]
optional = true
path = "python27-sys"
version = "0.3.0"
[dependencies.python3-sys]
optional = true
path = "python3-sys"
version = "0.3.0"
[features]
default = ["python3-sys"]
nonnull = []
nightly = []
extension-module = [ "python3-sys/extension-module" ]
extension-module-2-7 = [ "python27-sys/extension-module" ]
python-3-7 = ["python3-sys/python-3-7"]
python-3-6 = ["python3-sys/python-3-6"]
python-3-5 = ["python3-sys/python-3-5"]
python-3-4 = ["python3-sys/python-3-4"]
no-auto-initialize = []
[workspace]
members = ["python27-sys", "python3-sys", "extensions/hello"]