Update Python instructions, add simple testsuite (which fails with segmentation fault)

This commit is contained in:
John J. Camilleri
2021-08-24 09:05:16 +02:00
parent 8b8028bdfe
commit beab2ad899
4 changed files with 91 additions and 65 deletions

View File

@@ -0,0 +1,19 @@
# 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 `examples/`.