source: pyyaml/trunk/setup_ext.py @ 195

Revision 195, 277 bytes checked in by xi, 9 years ago (diff)

Add pyrex-based bindings for the libyaml scanner.

RevLine 
[195]1
2from distutils.core import setup
3from distutils.extension import Extension
4from Pyrex.Distutils import build_ext
5
6setup(
7    name = '_yaml',
8    ext_modules=[
9        Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']),
10    ],
11    cmdclass = {'build_ext': build_ext}
12)
13
Note: See TracBrowser for help on using the repository browser.