pyo3/python3-sys
James Salter 93645484ed Remove pkgconfig approach from -sys builds.
* pkgconfig is frequently broken or missing, doesn't
contain the explicit path to the interpreter (leading
to bad guesses), and confuses users. Rely on PATH alone.

* Fix bad detection of OSX shared library python

* Fix get_config_from_interpreter reporting python interpreter
path inconsistently with find_interpreter_and_get_config -
fixes OSX python.org python 3, which doesn't have a 'python'
in exec_prefix, just 'python3'
2015-08-16 12:30:57 +01:00
..
examples
src py_module_initializer! for python 3 2015-05-24 20:06:08 +02:00
.gitignore
build.rs Remove pkgconfig approach from -sys builds. 2015-08-16 12:30:57 +01:00
Cargo.toml python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00
LICENSE
README.md python27-sys 0.1.0 and python3-sys 0.1.1 2015-07-04 20:20:06 +02:00

rust-python3-sys

Rust FFI declarations for Python 3. Supports the PEP 384 stable ABI for Python 3.3 or higher.


This cargo -sys package provides python3 declarations. Licensed under the Python license (see LICENSE).

For a safe high-level API, see rust-cpython.

Usage

python3-sys is available on crates.io so you can use it like this (in your Cargo.toml):

[dependencies.python3-sys]
version = "*"

In Rust, import the crate like this:

extern crate python3_sys as py;

Documentation for the python API is available on [https://docs.python.org/3/c-api/].