From fdaf19a5d467340682a5b08beac919003ab70832 Mon Sep 17 00:00:00 2001 From: "John J. Camilleri" Date: Tue, 24 Aug 2021 10:04:07 +0200 Subject: [PATCH] Bump version of Python bindings --- src/runtime/python/README.md | 14 ++++++++++---- src/runtime/python/setup.py | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/runtime/python/README.md b/src/runtime/python/README.md index ab327af93..8878198d4 100644 --- a/src/runtime/python/README.md +++ b/src/runtime/python/README.md @@ -9,11 +9,17 @@ ## Installation -``` -$ python setup.py build -$ sudo python setup.py install +```sh +python setup.py build +sudo python setup.py install ``` ## Usage -See `examples/`. +See: https://www.grammaticalframework.org/doc/runtime-api.html#python + +## Running tests + +```sh +python test.py +``` diff --git a/src/runtime/python/setup.py b/src/runtime/python/setup.py index b7ccb61e6..5a73e6a08 100644 --- a/src/runtime/python/setup.py +++ b/src/runtime/python/setup.py @@ -16,7 +16,7 @@ pgf_module = Extension('pgf', libraries = ['pgf']) setup (name = 'pgf', - version = '1.0', + version = '2.0', description = 'Python bindings to the Grammatical Framework\'s PGF runtime', long_description="""\ Grammatical Framework (GF) is a programming language for multilingual grammar applications.