diff options
author | Anthon van der Neut <anthon@mnt.org> | 2014-11-23 16:39:23 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2014-11-23 16:39:23 +0100 |
commit | 50d2b57039dff86dd090ef9a124861d15f380053 (patch) | |
tree | ad999f79badab01c8a00825d4ca8c47c65c7d23f /setup.py | |
parent | d709fb8be80a54e793f7eb5a148cd1fa5103933c (diff) | |
download | ruamel.yaml-50d2b57039dff86dd090ef9a124861d15f380053.tar.gz |
- add ext/_yaml.c etc to the source tree
- tests for yaml to work on 2.6/3.3/3.4
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -118,7 +118,18 @@ def main(): # install_requires.append("") packages = [full_package_name] + [ (full_package_name + '.' + x) - for x in find_packages('py', exclude=['tests'])] + for x in find_packages('py', exclude=['test'])] + ext_modules = [ + # Extension('_yaml', ['ext/_yaml.pyx'], + # 'libyaml', "LibYAML bindings", LIBYAML_CHECK, + # libraries=['yaml']), + Extension( + '_yaml', + sources=['ext/_yaml.c'], + libraries=['yaml'], + ), + ] + ext_modules = [] setup( name=full_package_name, version=version_str, @@ -133,6 +144,7 @@ def main(): package_dir={full_package_name: 'py'}, namespace_packages=[name_space], packages=packages, + ext_modules=ext_modules, entry_points=mk_entry_points(full_package_name), cmdclass={'install_lib': MyInstallLib}, classifiers=[ @@ -141,6 +153,12 @@ def main(): 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Text Processing :: Markup", ] ) |