2015-04-26 08:34:31 +00:00
|
|
|
[package]
|
|
|
|
name = "python27-sys"
|
2016-12-17 20:29:02 +00:00
|
|
|
version = "0.1.2"
|
2015-04-26 08:34:31 +00:00
|
|
|
description = "FFI Declarations for Python 2.7"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = [
|
|
|
|
"python",
|
|
|
|
"cpython",
|
|
|
|
"libpython27",
|
|
|
|
]
|
2015-07-04 18:28:40 +00:00
|
|
|
homepage = "https://github.com/dgrunwald/rust-cpython/tree/master/python27-sys"
|
|
|
|
repository = "https://github.com/dgrunwald/rust-cpython/tree/master/python27-sys"
|
2015-04-26 08:34:31 +00:00
|
|
|
license = "Python-2.0"
|
|
|
|
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
|
2015-05-17 12:14:47 +00:00
|
|
|
links = "python27"
|
2015-04-26 08:34:31 +00:00
|
|
|
build = "build.rs"
|
|
|
|
exclude = [
|
|
|
|
".gitignore",
|
|
|
|
".travis.yml",
|
|
|
|
]
|
2016-12-17 20:17:11 +00:00
|
|
|
workspace = ".."
|
2015-04-26 08:34:31 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2015-11-07 16:10:20 +00:00
|
|
|
libc = "0.2"
|
2015-04-26 08:34:31 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
[build-dependencies]
|
2016-03-05 16:40:41 +00:00
|
|
|
regex = "0.1"
|
2015-04-26 08:34:31 +00:00
|
|
|
|
2015-05-19 21:32:32 +00:00
|
|
|
[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.
|
2015-05-25 13:41:26 +00:00
|
|
|
default = ["python-2-7"]
|
|
|
|
python-2-7 = []
|
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 = [ ]
|
|
|
|
|