Skip to content
D bindings for CPython
D Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deimos/python
examples/example
LICENSE
README.md
dub.json
genDubConfig.py

README.md

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
You can’t perform that action at this time.