4 from distutils
.core
import setup
5 from distutils
.extension
import Extension
6 from Pyrex
.Distutils
import build_ext
8 if __name__
== '__main__':
13 description
=DESCRIPTION
,
14 long_description
=LONG_DESCRIPTION
,
16 author_email
=AUTHOR_EMAIL
,
20 download_url
=DOWNLOAD_URL
,
21 classifiers
=CLASSIFIERS
,
23 package_dir
={'': 'lib'},
26 Extension("_yaml", ["ext/_yaml.pyx"], libraries
=['yaml']),
29 cmdclass
= {'build_ext': build_ext
}