thirdparty/google_appengine/lib/yaml/setup_with_libyaml.py
author Todd Larsen <tlarsen@google.com>
Fri, 21 Nov 2008 08:13:52 +0000
changeset 531 b74bf6bf1ccf
parent 109 620f9b141567
permissions -rwxr-xr-x
Make editSelf() work by adding 'inheritance_line' to the list of excluded fields in the UserForm. Also, fix a few too-long lines and add some missing parentheses (the style guide says do not rely on operator precedence). Patch by: Todd Larsen


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}
    )