~ubuntu-branches/debian/stretch/configobj/stretch

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2014-08-28 18:42:29 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20140828184229-yisw15o0j2r334jx
Tags: 5.0.6-1
* Team upload.
* Update watch file to point to GitHub releases.
* Bump Standards-Version to 3.9.5
* Use the pybuild buildsystem.
* Release a package for Python 3. (Closes: #660172)
* Refresh eggify.diff
* Drop report-doctest-failure.diff and py27-test.diff (fixed upstream).
* Disable triplequotes.diff (fail to apply).
* Fix deprecation warning test case.
* Adjust autopkgtests to run pytest for Python 2.x and 3.x.
* Move documentation into separate package and build Sphinx documentation.
* Update debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# setup.py
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:
 
4
# (name) : (email)
 
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
7
10
 
8
11
# This software is licensed under the terms of the BSD license.
9
 
# http://www.voidspace.org.uk/python/license.shtml
10
 
 
 
12
# http://opensource.org/licenses/BSD-3-Clause
 
13
import os
11
14
import sys
12
15
from setuptools import setup
13
 
from configobj import __version__ as VERSION
14
 
 
 
16
# a simple import wouldn't work if we moved towards a package with __init__
 
17
from _version import __version__
 
18
 
 
19
if sys.version_info < (2, 6):
 
20
    print('for python versions < 2.6 use configobj '
 
21
          'version 4.7.2')
 
22
    sys.exit(1)
 
23
 
 
24
__here__ = os.path.abspath(os.path.dirname(__file__))
 
25
 
 
26
VERSION = __version__
15
27
NAME = 'configobj'
16
 
 
17
 
MODULES = 'configobj', 'validate'
 
28
MODULES = 'configobj', 'validate', '_version'
18
29
 
19
30
DESCRIPTION = 'Config file reading, writing and validation.'
20
31
 
21
 
URL = 'http://www.voidspace.org.uk/python/configobj.html'
22
 
 
23
 
DOWNLOAD_URL = "http://www.voidspace.org.uk/downloads/configobj-%s.zip" % VERSION
 
32
URL = 'https://github.com/DiffSK/configobj'
24
33
 
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
44
53
 
 
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
47
68
| 4.7.0.
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',
63
86
]
64
87
 
65
 
AUTHOR = 'Michael Foord & Nicola Larosa'
 
88
AUTHOR = 'Rob Dennis, Eli Courtwright (Michael Foord & Nicola Larosa original maintainers)'
66
89
 
67
 
AUTHOR_EMAIL = 'fuzzyman@voidspace.org.uk'
 
90
AUTHOR_EMAIL = 'rdennis+configobj@gmail.com, eli@courtwright.org, fuzzyman@voidspace.co.uk, nico@tekNico.net'
68
91
 
69
92
KEYWORDS = "config, ini, dictionary, application, admin, sysadmin, configuration, validation".split(', ')
70
93
 
71
94
 
72
95
setup(name=NAME,
73
96
      version=VERSION,
 
97
      install_requires=['six'],
74
98
      description=DESCRIPTION,
75
99
      long_description=LONG_DESCRIPTION,
76
 
      download_url=DOWNLOAD_URL,
77
100
      author=AUTHOR,
78
101
      author_email=AUTHOR_EMAIL,
79
102
      url=URL,