michael@0: # setup.py michael@0: # Install script for ConfigObj michael@0: # Copyright (C) 2005-2010 Michael Foord, Mark Andrews, Nicola Larosa michael@0: # E-mail: fuzzyman AT voidspace DOT org DOT uk michael@0: # mark AT la-la DOT com michael@0: # nico AT tekNico DOT net michael@0: michael@0: # This software is licensed under the terms of the BSD license. michael@0: # http://www.voidspace.org.uk/python/license.shtml michael@0: michael@0: import sys michael@0: from distutils.core import setup michael@0: from configobj import __version__ as VERSION michael@0: michael@0: NAME = 'configobj' michael@0: michael@0: MODULES = 'configobj', 'validate' michael@0: michael@0: DESCRIPTION = 'Config file reading, writing and validation.' michael@0: michael@0: URL = 'http://www.voidspace.org.uk/python/configobj.html' michael@0: michael@0: DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION michael@0: michael@0: LONG_DESCRIPTION = """**ConfigObj** is a simple but powerful config file reader and writer: an *ini michael@0: file round tripper*. Its main feature is that it is very easy to use, with a michael@0: straightforward programmer's interface and a simple syntax for config files. michael@0: It has lots of other features though : michael@0: michael@0: * Nested sections (subsections), to any level michael@0: * List values michael@0: * Multiple line values michael@0: * Full Unicode support michael@0: * String interpolation (substitution) michael@0: * Integrated with a powerful validation system michael@0: michael@0: - including automatic type checking/conversion michael@0: - and allowing default values michael@0: - repeated sections michael@0: michael@0: * All comments in the file are preserved michael@0: * The order of keys/sections is preserved michael@0: * Powerful ``unrepr`` mode for storing/retrieving Python data-types michael@0: michael@0: | Release 4.7.2 fixes several bugs in 4.7.1 michael@0: | Release 4.7.1 fixes a bug with the deprecated options keyword in michael@0: | 4.7.0. michael@0: | Release 4.7.0 improves performance adds features for validation and michael@0: | fixes some bugs.""" michael@0: michael@0: CLASSIFIERS = [ michael@0: 'Development Status :: 6 - Mature', michael@0: 'Intended Audience :: Developers', michael@0: 'License :: OSI Approved :: BSD License', michael@0: 'Programming Language :: Python', michael@0: 'Programming Language :: Python :: 2.3', michael@0: 'Programming Language :: Python :: 2.4', michael@0: 'Programming Language :: Python :: 2.5', michael@0: 'Programming Language :: Python :: 2.6', michael@0: 'Operating System :: OS Independent', michael@0: 'Topic :: Software Development :: Libraries', michael@0: 'Topic :: Software Development :: Libraries :: Python Modules', michael@0: ] michael@0: michael@0: AUTHOR = 'Michael Foord & Nicola Larosa' michael@0: michael@0: AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk' michael@0: michael@0: KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ') michael@0: michael@0: michael@0: setup(name=NAME, michael@0: version=VERSION, michael@0: description=DESCRIPTION, michael@0: long_description=LONG_DESCRIPTION, michael@0: download_url=DOWNLOAD_URL, michael@0: author=AUTHOR, michael@0: author_email=AUTHOR_EMAIL, michael@0: url=URL, michael@0: py_modules=MODULES, michael@0: classifiers=CLASSIFIERS, michael@0: keywords=KEYWORDS michael@0: )