forked from GitHub/gf-core
Python bindings to C runtime
Pre-requisites
- You must have installed the PGF C runtime (see
../c/README.md) - You will need the system Python development package, e.g.:
- RedHat:
yum install python-devel - Debian:
apt install python-dev
Installation
python setup.py build
sudo python setup.py install
Usage
See: https://www.grammaticalframework.org/doc/runtime-api.html#python
Running tests
pytest
Requires: pip install pytest