summaryrefslogtreecommitdiffstats
path: root/google_appengine/lib/yaml/setup_with_libyaml.py
blob: a084ca7bcbe0c65ea2f36849ca9105f6a7e8abdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from setup import *

from distutils.core import setup
from distutils.extension import Extension
from Pyrex.Distutils import build_ext

if __name__ == '__main__':

    setup(
        name=NAME,
        version=VERSION,
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        license=LICENSE,
        platforms=PLATFORMS,
        url=URL,
        download_url=DOWNLOAD_URL,
        classifiers=CLASSIFIERS,

        package_dir={'': 'lib'},
        packages=['yaml'],
        ext_modules=[
            Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']),
        ],

        cmdclass = {'build_ext': build_ext}
    )