source: trunk/packages/pyyaml/setup.py @ 898

Last change on this file since 898 was 898, checked in by hartmans, 16 years ago

Add pyyaml and libyaml packages
backported from lenny.
There is discussion about how these should go in the repository; these are added in this form
in order to make forward progress.

File size: 1.6 KB
Line 
1
2NAME = 'PyYAML'
3VERSION = '3.05'
4DESCRIPTION = "YAML parser and emitter for Python"
5LONG_DESCRIPTION = """\
6YAML is a data serialization format designed for human readability and
7interaction with scripting languages.  PyYAML is a YAML parser and
8emitter for Python.
9
10PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
11support, capable extension API, and sensible error messages.  PyYAML
12supports standard YAML tags and provides Python-specific tags that allow
13to represent an arbitrary Python object.
14
15PyYAML is applicable for a broad range of tasks from complex
16configuration files to object serialization and persistance."""
17AUTHOR = "Kirill Simonov"
18AUTHOR_EMAIL = 'xi@resolvent.net'
19LICENSE = "MIT"
20PLATFORMS = "Any"
21URL = "http://pyyaml.org/wiki/PyYAML"
22DOWNLOAD_URL = "http://pyyaml.org/download/pyyaml/%s-%s.tar.gz" % (NAME, VERSION)
23CLASSIFIERS = [
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
33from distutils.core import setup
34
35if __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
Note: See TracBrowser for help on using the repository browser.