2015-01-05 16:05:53 +00:00
|
|
|
[package]
|
|
|
|
|
2015-01-04 23:07:31 +00:00
|
|
|
name = "cpython"
|
2015-01-05 16:05:53 +00:00
|
|
|
version = "0.0.1"
|
2015-01-04 23:07:31 +00:00
|
|
|
description = "Bindings to Python 2.7"
|
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-05-17 19:35:04 +00:00
|
|
|
"python27-sys",
|
|
|
|
"python32-sys",
|
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-03-09 13:31:20 +00:00
|
|
|
libc="*"
|
2015-05-09 16:12:26 +00:00
|
|
|
num="*"
|
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-17 19:35:04 +00:00
|
|
|
path="python27-sys"
|
2015-05-19 21:32:32 +00:00
|
|
|
optional = true
|
2015-05-17 19:35:04 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
[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"]
|