source: pyyaml/trunk/setup_with_libyaml.py @ 227

Revision 227, 709 bytes checked in by xi, 8 years ago (diff)

Preparing the next release.

Line 
1
2from setup import *
3
4from distutils.core import setup
5from distutils.extension import Extension
6from Pyrex.Distutils import build_ext
7
8if __name__ == '__main__':
9
10    setup(
11        name=NAME,
12        version=VERSION,
13        description=DESCRIPTION,
14        long_description=LONG_DESCRIPTION,
15        author=AUTHOR,
16        author_email=AUTHOR_EMAIL,
17        license=LICENSE,
18        platforms=PLATFORMS,
19        url=URL,
20        download_url=DOWNLOAD_URL,
21        classifiers=CLASSIFIERS,
22
23        package_dir={'': 'lib'},
24        packages=['yaml'],
25        ext_modules=[
26            Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']),
27        ],
28
29        cmdclass = {'build_ext': build_ext}
30    )
31
Note: See TracBrowser for help on using the repository browser.