thirdparty/google_appengine/lib/yaml/setup_with_libyaml.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 12 Sep 2009 00:59:58 +0200
changeset 2899 691735924efb
parent 109 620f9b141567
permissions -rwxr-xr-x
Fix broken maintenance mode Maintenance mode has been broken since r7fe19ebfe0d3 (Thu Jun 4) "Display caught errors on the page itself", fix it by passing the site entity, rather than the site module to isActivePeriod.


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