thirdparty/google_appengine/lib/yaml/setup_with_libyaml.py
changeset 109 620f9b141567
equal deleted inserted replaced
108:261778de26ff 109:620f9b141567
       
     1 
       
     2 from setup import *
       
     3 
       
     4 from distutils.core import setup
       
     5 from distutils.extension import Extension
       
     6 from Pyrex.Distutils import build_ext
       
     7 
       
     8 if __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