mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-27 20:30:37 +00:00
54 lines
1.6 KiB
Python
54 lines
1.6 KiB
Python
|
|
NAME = 'PyYAML'
|
|
VERSION = '3.04'
|
|
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 :: 4 - Beta",
|
|
"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
|
|
|
|
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'],
|
|
)
|
|
|