python/configobj/setup.py

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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

mercurial