summaryrefslogtreecommitdiff
path: root/src/runtime/python/setup.py
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-12-12 11:29:39 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-12-12 11:29:39 +0000
commit0891ef3f0feefff51b687d4469c7024a80305bec (patch)
treea6e470f10572231e41287de271d896f9ef72acb8 /src/runtime/python/setup.py
parentaa13090b66d7ee1ffc68ad242c6419a83cf364d9 (diff)
an initial Python binding to the C runtime
Diffstat (limited to 'src/runtime/python/setup.py')
-rw-r--r--src/runtime/python/setup.py11
1 files changed, 11 insertions, 0 deletions
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])