Files
gf-core/src/runtime/python
John J. Camilleri 388829d63d Make hypos tuples again 😥
2021-09-28 10:35:19 +02:00
..
2018-05-24 09:47:55 +02:00
2021-09-28 10:35:19 +02:00
2021-09-28 10:35:19 +02:00
2021-09-28 10:35:19 +02:00
2021-09-28 10:35:19 +02:00
2021-09-24 15:00:10 +02:00
2021-09-28 10:35:19 +02:00

Python bindings to C runtime

Pre-requisites

  1. You must have installed the PGF C runtime (see ../c/README.md)
  2. 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