python/configobj/setup.py

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python/configobj/setup.py	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,83 @@
     1.4 +# setup.py
     1.5 +# Install script for ConfigObj
     1.6 +# Copyright (C) 2005-2010 Michael Foord, Mark Andrews, Nicola Larosa
     1.7 +# E-mail: fuzzyman AT voidspace DOT org DOT uk
     1.8 +#         mark AT la-la DOT com
     1.9 +#         nico AT tekNico DOT net
    1.10 +
    1.11 +# This software is licensed under the terms of the BSD license.
    1.12 +# http://www.voidspace.org.uk/python/license.shtml
    1.13 +
    1.14 +import sys
    1.15 +from distutils.core import setup
    1.16 +from configobj import __version__ as VERSION
    1.17 +
    1.18 +NAME = 'configobj'
    1.19 +
    1.20 +MODULES = 'configobj', 'validate'
    1.21 +
    1.22 +DESCRIPTION = 'Config file reading, writing and validation.'
    1.23 +
    1.24 +URL = 'http://www.voidspace.org.uk/python/configobj.html'
    1.25 +
    1.26 +DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION
    1.27 +
    1.28 +LONG_DESCRIPTION = """**ConfigObj** is a simple but powerful config file reader and writer: an *ini
    1.29 +file round tripper*. Its main feature is that it is very easy to use, with a
    1.30 +straightforward programmer's interface and a simple syntax for config files.
    1.31 +It has lots of other features though :
    1.32 +
    1.33 +* Nested sections (subsections), to any level
    1.34 +* List values
    1.35 +* Multiple line values
    1.36 +* Full Unicode support
    1.37 +* String interpolation (substitution)
    1.38 +* Integrated with a powerful validation system
    1.39 +
    1.40 +    - including automatic type checking/conversion
    1.41 +    - and allowing default values
    1.42 +    - repeated sections
    1.43 +
    1.44 +* All comments in the file are preserved
    1.45 +* The order of keys/sections is preserved
    1.46 +* Powerful ``unrepr`` mode for storing/retrieving Python data-types
    1.47 +
    1.48 +| Release 4.7.2 fixes several bugs in 4.7.1
    1.49 +| Release 4.7.1 fixes a bug with the deprecated options keyword in
    1.50 +| 4.7.0.
    1.51 +| Release 4.7.0 improves performance adds features for validation and
    1.52 +| fixes some bugs."""
    1.53 +
    1.54 +CLASSIFIERS = [
    1.55 +    'Development Status :: 6 - Mature',
    1.56 +    'Intended Audience :: Developers',
    1.57 +    'License :: OSI Approved :: BSD License',
    1.58 +    'Programming Language :: Python',
    1.59 +    'Programming Language :: Python :: 2.3',
    1.60 +    'Programming Language :: Python :: 2.4',
    1.61 +    'Programming Language :: Python :: 2.5',
    1.62 +    'Programming Language :: Python :: 2.6',
    1.63 +    'Operating System :: OS Independent',
    1.64 +    'Topic :: Software Development :: Libraries',
    1.65 +    'Topic :: Software Development :: Libraries :: Python Modules',
    1.66 +]
    1.67 +
    1.68 +AUTHOR = 'Michael Foord & Nicola Larosa'
    1.69 +
    1.70 +AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk'
    1.71 +
    1.72 +KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ')
    1.73 +
    1.74 +
    1.75 +setup(name=NAME,
    1.76 +      version=VERSION,
    1.77 +      description=DESCRIPTION,
    1.78 +      long_description=LONG_DESCRIPTION,
    1.79 +      download_url=DOWNLOAD_URL,
    1.80 +      author=AUTHOR,
    1.81 +      author_email=AUTHOR_EMAIL,
    1.82 +      url=URL,
    1.83 +      py_modules=MODULES,
    1.84 +      classifiers=CLASSIFIERS,
    1.85 +      keywords=KEYWORDS
    1.86 +     )

mercurial