blob: 63d70cc0c8c7d9730d2fe2fc43b6a19257d0d92f [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001# 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
11import sys
12from distutils.core import setup
13from configobj import __version__ as VERSION
14
15NAME = 'configobj'
16
17MODULES = 'configobj', 'validate'
18
19DESCRIPTION = 'Config file reading, writing and validation.'
20
21URL = 'http://www.voidspace.org.uk/python/configobj.html'
22
23DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION
24
25LONG_DESCRIPTION = """**ConfigObj** is a simple but powerful config file reader and writer: an *ini
26file round tripper*. Its main feature is that it is very easy to use, with a
27straightforward programmer's interface and a simple syntax for config files.
28It 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
51CLASSIFIERS = [
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
65AUTHOR = 'Michael Foord & Nicola Larosa'
66
67AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk'
68
69KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ')
70
71
72setup(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 )