python/configobj/setup.py

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:1ca5380279a1
1 # setup.py
2 # Install script for ConfigObj
3 # Copyright (C) 2005-2010 Michael Foord, Mark Andrews, Nicola Larosa
4 # E-mail: fuzzyman AT voidspace DOT org DOT uk
5 # mark AT la-la DOT com
6 # nico AT tekNico DOT net
7
8 # This software is licensed under the terms of the BSD license.
9 # http://www.voidspace.org.uk/python/license.shtml
10
11 import sys
12 from distutils.core import setup
13 from configobj import __version__ as VERSION
14
15 NAME = 'configobj'
16
17 MODULES = 'configobj', 'validate'
18
19 DESCRIPTION = 'Config file reading, writing and validation.'
20
21 URL = 'http://www.voidspace.org.uk/python/configobj.html'
22
23 DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION
24
25 LONG_DESCRIPTION = """**ConfigObj** is a simple but powerful config file reader and writer: an *ini
26 file round tripper*. Its main feature is that it is very easy to use, with a
27 straightforward programmer's interface and a simple syntax for config files.
28 It has lots of other features though :
29
30 * Nested sections (subsections), to any level
31 * List values
32 * Multiple line values
33 * Full Unicode support
34 * String interpolation (substitution)
35 * Integrated with a powerful validation system
36
37 - including automatic type checking/conversion
38 - and allowing default values
39 - repeated sections
40
41 * All comments in the file are preserved
42 * The order of keys/sections is preserved
43 * Powerful ``unrepr`` mode for storing/retrieving Python data-types
44
45 | Release 4.7.2 fixes several bugs in 4.7.1
46 | Release 4.7.1 fixes a bug with the deprecated options keyword in
47 | 4.7.0.
48 | Release 4.7.0 improves performance adds features for validation and
49 | fixes some bugs."""
50
51 CLASSIFIERS = [
52 'Development Status :: 6 - Mature',
53 'Intended Audience :: Developers',
54 'License :: OSI Approved :: BSD License',
55 'Programming Language :: Python',
56 'Programming Language :: Python :: 2.3',
57 'Programming Language :: Python :: 2.4',
58 'Programming Language :: Python :: 2.5',
59 'Programming Language :: Python :: 2.6',
60 'Operating System :: OS Independent',
61 'Topic :: Software Development :: Libraries',
62 'Topic :: Software Development :: Libraries :: Python Modules',
63 ]
64
65 AUTHOR = 'Michael Foord & Nicola Larosa'
66
67 AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk'
68
69 KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ')
70
71
72 setup(name=NAME,
73 version=VERSION,
74 description=DESCRIPTION,
75 long_description=LONG_DESCRIPTION,
76 download_url=DOWNLOAD_URL,
77 author=AUTHOR,
78 author_email=AUTHOR_EMAIL,
79 url=URL,
80 py_modules=MODULES,
81 classifiers=CLASSIFIERS,
82 keywords=KEYWORDS
83 )

mercurial