From 0891ef3f0feefff51b687d4469c7024a80305bec Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 12 Dec 2012 11:29:39 +0000 Subject: an initial Python binding to the C runtime --- src/runtime/python/setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/runtime/python/setup.py (limited to 'src/runtime/python/setup.py') diff --git a/src/runtime/python/setup.py b/src/runtime/python/setup.py new file mode 100644 index 000000000..7356cb6c1 --- /dev/null +++ b/src/runtime/python/setup.py @@ -0,0 +1,11 @@ +from distutils.core import setup, Extension + +pgf_module = Extension('pgf', + sources = ['pypgf.c'], + extra_compile_args = ['-std=c99'], + libraries = ['gu', 'pgf']) + +setup (name = 'pgf', + version = '1.0', + description = 'This is binding to the PGF engine', + ext_modules = [pgf_module]) -- cgit v1.2.3