Make compose() and load() ensure that the input stream contains a single document...
[pyyaml/python3.git] / setup_with_libyaml.py
bloba084ca7bcbe0c65ea2f36849ca9105f6a7e8abdf
2 from setup import *
4 from distutils.core import setup
5 from distutils.extension import Extension
6 from Pyrex.Distutils import build_ext
8 if __name__ == '__main__':
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,
23 package_dir={'': 'lib'},
24 packages=['yaml'],
25 ext_modules=[
26 Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']),
29 cmdclass = {'build_ext': build_ext}