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