[898] | 1 | |
---|
| 2 | NAME = 'PyYAML' |
---|
| 3 | VERSION = '3.05' |
---|
| 4 | DESCRIPTION = "YAML parser and emitter for Python" |
---|
| 5 | LONG_DESCRIPTION = """\ |
---|
| 6 | YAML is a data serialization format designed for human readability and |
---|
| 7 | interaction with scripting languages. PyYAML is a YAML parser and |
---|
| 8 | emitter for Python. |
---|
| 9 | |
---|
| 10 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
---|
| 11 | support, capable extension API, and sensible error messages. PyYAML |
---|
| 12 | supports standard YAML tags and provides Python-specific tags that allow |
---|
| 13 | to represent an arbitrary Python object. |
---|
| 14 | |
---|
| 15 | PyYAML is applicable for a broad range of tasks from complex |
---|
| 16 | configuration files to object serialization and persistance.""" |
---|
| 17 | AUTHOR = "Kirill Simonov" |
---|
| 18 | AUTHOR_EMAIL = 'xi@resolvent.net' |
---|
| 19 | LICENSE = "MIT" |
---|
| 20 | PLATFORMS = "Any" |
---|
| 21 | URL = "http://pyyaml.org/wiki/PyYAML" |
---|
| 22 | DOWNLOAD_URL = "http://pyyaml.org/download/pyyaml/%s-%s.tar.gz" % (NAME, VERSION) |
---|
| 23 | CLASSIFIERS = [ |
---|
| 24 | "Development Status :: 4 - Beta", |
---|
| 25 | "Intended Audience :: Developers", |
---|
| 26 | "License :: OSI Approved :: MIT License", |
---|
| 27 | "Operating System :: OS Independent", |
---|
| 28 | "Programming Language :: Python", |
---|
| 29 | "Topic :: Software Development :: Libraries :: Python Modules", |
---|
| 30 | "Topic :: Text Processing :: Markup", |
---|
| 31 | ] |
---|
| 32 | |
---|
| 33 | from distutils.core import setup |
---|
| 34 | |
---|
| 35 | if __name__ == '__main__': |
---|
| 36 | |
---|
| 37 | setup( |
---|
| 38 | name=NAME, |
---|
| 39 | version=VERSION, |
---|
| 40 | description=DESCRIPTION, |
---|
| 41 | long_description=LONG_DESCRIPTION, |
---|
| 42 | author=AUTHOR, |
---|
| 43 | author_email=AUTHOR_EMAIL, |
---|
| 44 | license=LICENSE, |
---|
| 45 | platforms=PLATFORMS, |
---|
| 46 | url=URL, |
---|
| 47 | download_url=DOWNLOAD_URL, |
---|
| 48 | classifiers=CLASSIFIERS, |
---|
| 49 | |
---|
| 50 | package_dir={'': 'lib'}, |
---|
| 51 | packages=['yaml'], |
---|
| 52 | ) |
---|
| 53 | |
---|