From 1161ab8f8dda272eb5d09917446cc5b971be1335 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Thu, 5 Jan 2017 18:12:31 +0100 Subject: python-yaml: provide both python2 and python3 package Further the recipe is simplified by using the pypi and setuptools class. The custom setup.py is no onger necessary. Signed-off-by: Pascal Bach Signed-off-by: Martin Jansa --- .../recipes-devtools/python/python-pyyaml/setup.py | 64 ---------------------- 1 file changed, 64 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyyaml/setup.py (limited to 'meta-python/recipes-devtools/python/python-pyyaml/setup.py') diff --git a/meta-python/recipes-devtools/python/python-pyyaml/setup.py b/meta-python/recipes-devtools/python/python-pyyaml/setup.py deleted file mode 100644 index 2ed1c94beb..0000000000 --- a/meta-python/recipes-devtools/python/python-pyyaml/setup.py +++ /dev/null @@ -1,64 +0,0 @@ -NAME = 'PyYAML' -VERSION = '3.10' -DESCRIPTION = "YAML parser and emitter for Python" -LONG_DESCRIPTION = """\ -YAML is a data serialization format designed for human readability and -interaction with scripting languages. PyYAML is a YAML parser and -emitter for Python. - -PyYAML features a complete YAML 1.1 parser, Unicode support, pickle -support, capable extension API, and sensible error messages. PyYAML -supports standard YAML tags and provides Python-specific tags that allow -to represent an arbitrary Python object. - -PyYAML is applicable for a broad range of tasks from complex -configuration files to object serialization and persistance.""" -AUTHOR = "Kirill Simonov" -AUTHOR_EMAIL = 'xi@resolvent.net' -LICENSE = "MIT" -PLATFORMS = "Any" -URL = "http://pyyaml.org/wiki/PyYAML" -DOWNLOAD_URL = "http://pyyaml.org/download/pyyaml/%s-%s.tar.gz" % (NAME, VERSION) -CLASSIFIERS = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: Text Processing :: Markup", -] - -from distutils.core import setup -from distutils.extension import Extension -from Cython.Distutils import build_ext - -import sys, os.path - - -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, - }, - ) -- cgit v1.2.3-54-g00ecf