43 lines
954 B
TOML
43 lines
954 B
TOML
[package]
|
|
|
|
name = "cpython"
|
|
version = "0.0.1"
|
|
description = "Bindings to Python 2.7"
|
|
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/"
|
|
license = "MIT"
|
|
exclude = [
|
|
".gitignore",
|
|
".travis.yml",
|
|
"python27-sys",
|
|
"python32-sys",
|
|
]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
libc = "*"
|
|
num = "*"
|
|
interpolate_idents = "*"
|
|
|
|
# These features are both optional, but you must pick one to
|
|
# indicate which python ffi you are trying to bind to.
|
|
[dependencies.python27-sys]
|
|
path="python27-sys"
|
|
optional = true
|
|
|
|
[dependencies.python3-sys]
|
|
path = "python3-sys"
|
|
optional = true
|
|
|
|
[features]
|
|
# Maybe one day python 3 should be the default. But not this day.
|
|
default = ["python27-sys"]
|