now the Python binding has an alternative representation for abstract trees which is composed of Python objects. The new representation is not integrated with the core runtime yet

This commit is contained in:
kr.angelov
2013-01-07 15:11:12 +00:00
parent 2c169406fc
commit 9b78da5357
4 changed files with 181 additions and 5 deletions

View File

@@ -1,11 +1,15 @@
from distutils.core import setup, Extension
pgf_module = Extension('pgf',
sources = ['pypgf.c'],
pgf_module = Extension('pgf.binding',
sources = ['pgf/binding.c'],
extra_compile_args = ['-std=c99'],
libraries = ['gu', 'pgf'])
setup (name = 'pgf',
version = '1.0',
description = 'This is binding to the PGF engine',
description = 'A binding to the PGF engine',
author='Krasimir Angelov',
author_email='kr.angelov@gmail.com',
license='BSD',
packages=['pgf'],
ext_modules = [pgf_module])