1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
from distutils.core import setup, Extension
module1 = Extension('pysexp',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
include_dirs = ['../src'],
libraries = ['sexp'],
library_dirs = ['../src'],
sources = ['pysexp.c'])
setup (name = 'pysexp',
version = '1.0',
description = 'Python libsexp interface',
author = 'Steve James',
author_email = 'pyro@linuxlabs.com',
url = 'http://sexpr.sf.net/',
long_description = '''
Python interface for s-expression library
''',
ext_modules = [module1])
|