mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 21:19:31 -06:00
an initial Python binding to the C runtime
This commit is contained in:
11
src/runtime/python/setup.py
Normal file
11
src/runtime/python/setup.py
Normal file
@@ -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])
|
||||
Reference in New Issue
Block a user