pyo3/python27-sys/Cargo.toml
2015-11-07 17:10:20 +01:00

40 lines
976 B
TOML

[package]
name = "python27-sys"
version = "0.1.1"
description = "FFI Declarations for Python 2.7"
readme = "README.md"
keywords = [
"python",
"cpython",
"libpython27",
]
homepage = "https://github.com/dgrunwald/rust-cpython/tree/master/python27-sys"
repository = "https://github.com/dgrunwald/rust-cpython/tree/master/python27-sys"
license = "Python-2.0"
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
links = "python27"
build = "build.rs"
exclude = [
".gitignore",
".travis.yml",
]
[dependencies]
libc = "0.2"
[build-dependencies]
pkg-config = "0.3.5"
regex = "0.1.8"
[features]
# This is examined by ./build.rs to determine which python version
# to try to bind to.
#
# According to PEP 404 there will never be a python 2.8, but maybe
# one day we could try to support < 2.7 ?
#
# Similarly functionality is duplicated in python3-sys/Cargo.toml
# where supporting multiple 3.x's is more important.
default = ["python-2-7"]
python-2-7 = []