cpython 1.0.0-beta6

static bindings to the CPython C API


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

CPython

D bindings for CPython, taken from https://github.com/ariovistus/pyd, all credit goes to the pyd authors.

Run genDubConfig.py "<your project name>" with your chosen python interpreter to print an example dub.json with the relevant library paths etc. set correctly.

I suggest doing this even if you don't intend to use dub, the output should contain the necessary information for you to use your own build tool (e.g. version flags)

Examples

To run an example, do something like this:

cd examples/example
python3 ../../genDubConfig example > dub.json
dub build
python3 test.py
Authors:
  • Ellery Newcomer
  • Kirk McDonald
Dependencies:
none
Versions:
1.0.0-beta6 2016-Feb-02
1.0.0-beta4 2016-Feb-02
1.0.0-beta3 2016-Feb-02
1.0.0-beta2 2016-Feb-02
1.0.0-beta1 2016-Feb-02
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 382 downloads total

Score:
0.9
Short URL:
cpython.dub.pm