2
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
3
# Copyright (C) 2005-2014:
5
# Michael Foord: fuzzyman AT voidspace DOT org DOT uk
6
# Mark Andrews: mark AT la-la DOT com
7
# Nicola Larosa: nico AT tekNico DOT net
8
# Rob Dennis: rdennis AT gmail DOT com
9
# Eli Courtwright: eli AT courtwright DOT org
8
11
# This software is licensed under the terms of the BSD license.
9
# http://www.voidspace.org.uk/python/license.shtml
12
# http://opensource.org/licenses/BSD-3-Clause
12
15
from setuptools import setup
13
from configobj import __version__ as VERSION
16
# a simple import wouldn't work if we moved towards a package with __init__
17
from _version import __version__
19
if sys.version_info < (2, 6):
20
print('for python versions < 2.6 use configobj '
24
__here__ = os.path.abspath(os.path.dirname(__file__))
17
MODULES = 'configobj', 'validate'
28
MODULES = 'configobj', 'validate', '_version'
19
30
DESCRIPTION = 'Config file reading, writing and validation.'
21
URL = 'http://www.voidspace.org.uk/python/configobj.html'
23
DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION
32
URL = 'https://github.com/DiffSK/configobj'
25
34
LONG_DESCRIPTION = """**ConfigObj** is a simple but powerful config file reader and writer: an *ini
26
35
file round tripper*. Its main feature is that it is very easy to use, with a
42
51
* The order of keys/sections is preserved
43
52
* Powerful ``unrepr`` mode for storing/retrieving Python data-types
54
| Release 5.0.6 improves error messages in certain edge cases
55
| Release 5.0.5 corrects a unicode-bug that still existed in writing files
56
| Release 5.0.4 corrects a unicode-bug that still existed in reading files after
57
| fixing lists of string in 5.0.3
58
| Release 5.0.3 corrects errors related to the incorrectly handling unicode
59
| encoding and writing out files
60
| Release 5.0.2 adds a specific error message when trying to install on
61
| Python versions older than 2.5
62
| Release 5.0.1 fixes a regression with unicode conversion not happening
63
| in certain cases PY2
64
| Release 5.0.0 updates the supported Python versions to 2.6, 2.7, 3.2, 3.3
65
| and is otherwise unchanged
45
66
| Release 4.7.2 fixes several bugs in 4.7.1
46
67
| Release 4.7.1 fixes a bug with the deprecated options keyword in
53
74
'Intended Audience :: Developers',
54
75
'License :: OSI Approved :: BSD License',
55
76
'Programming Language :: Python',
56
'Programming Language :: Python :: 2.3',
57
'Programming Language :: Python :: 2.4',
58
'Programming Language :: Python :: 2.5',
77
'Programming Language :: Python :: 2',
59
78
'Programming Language :: Python :: 2.6',
79
'Programming Language :: Python :: 2.7',
80
'Programming Language :: Python :: 3',
81
'Programming Language :: Python :: 3.2',
82
'Programming Language :: Python :: 3.3',
60
83
'Operating System :: OS Independent',
61
84
'Topic :: Software Development :: Libraries',
62
85
'Topic :: Software Development :: Libraries :: Python Modules',
65
AUTHOR = 'Michael Foord & Nicola Larosa'
88
AUTHOR = 'Rob Dennis, Eli Courtwright (Michael Foord & Nicola Larosa original maintainers)'
67
AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk'
90
AUTHOR_EMAIL = 'rdennis+configobj@gmail.com, eli@courtwright.org, fuzzyman@voidspace.co.uk, nico@tekNico.net'
69
92
KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ')
97
install_requires=['six'],
74
98
description=DESCRIPTION,
75
99
long_description=LONG_DESCRIPTION,
76
download_url=DOWNLOAD_URL,
78
101
author_email=AUTHOR_EMAIL,