~configglue/configglue/trunk

18 by john.lenton at canonical
unified the (c) headers
1
###############################################################################
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
2
#
18 by john.lenton at canonical
unified the (c) headers
3
# configglue -- glue for your apps' configuration
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
4
#
18 by john.lenton at canonical
unified the (c) headers
5
# A library for simple, DRY configuration of applications
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
6
#
69.1.1 by Ricardo Kirkner
moved configglue.pyschema into configglue namespace
7
# (C) 2009--2011 by Canonical Ltd.
8
# by John R. Lenton <john.lenton@canonical.com>
9
# and Ricardo Kirkner <ricardo.kirkner@canonical.com>
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
10
#
2 by john.lenton at canonical
oops, forgot to add the (c) header to setup.py :)
11
# Released under the BSD License (see the file LICENSE)
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
12
#
2 by john.lenton at canonical
oops, forgot to add the (c) header to setup.py :)
13
# For bug reports, support, and new releases: http://launchpad.net/configglue
44.1.1 by Ricardo Kirkner
applied all recommendations from pep8
14
#
18 by john.lenton at canonical
unified the (c) headers
15
###############################################################################
16
2 by john.lenton at canonical
oops, forgot to add the (c) header to setup.py :)
17
31.1.1 by Ricardo Kirkner
added __version__ attribute
18
from setuptools import (
19
    find_packages,
20
    setup,
21
)
22
34.2.1 by Ricardo Kirkner
simplified setup code to get version
23
import configglue
103.2.6 by Ricardo Kirkner
updated setup.py
24
25
103.2.9 by Ricardo Kirkner
update setup.py and tox.ini for compatibility with 2.6, 2.7, 3.2 and 3.3
26
install_requires = ['pyxdg']
31.1.1 by Ricardo Kirkner
added __version__ attribute
27
1 by john.lenton at canonical
initial import
28
29
setup(name='configglue',
34.2.1 by Ricardo Kirkner
simplified setup code to get version
30
      version=configglue.__version__,
1 by john.lenton at canonical
initial import
31
      description="Glue to stick OptionParser and ConfigParser together",
32
      long_description="""
33
configglue is a library that glues together python's optparse.OptionParser and
34
ConfigParser.ConfigParser, so that you don't have to repeat yourself when you
35
want to export the same options to a configuration file and a commandline
36
interface.
37
""",
38
      classifiers=[
39
        'License :: OSI Approved :: BSD License',
40
        'Topic :: Software Development :: Libraries :: Python Modules',
41
        'Programming Language :: Python',
103.2.6 by Ricardo Kirkner
updated setup.py
42
        'Programming Language :: Python :: 2',
103.2.9 by Ricardo Kirkner
update setup.py and tox.ini for compatibility with 2.6, 2.7, 3.2 and 3.3
43
        'Programming Language :: Python :: 2.6',
103.2.6 by Ricardo Kirkner
updated setup.py
44
        'Programming Language :: Python :: 2.7',
45
        'Programming Language :: Python :: 3',
103.2.9 by Ricardo Kirkner
update setup.py and tox.ini for compatibility with 2.6, 2.7, 3.2 and 3.3
46
        'Programming Language :: Python :: 3.2',
103.2.6 by Ricardo Kirkner
updated setup.py
47
        'Programming Language :: Python :: 3.3',
115 by Ricardo Kirkner
officially support python 3.4 and 3.5
48
        'Programming Language :: Python :: 3.4',
49
        'Programming Language :: Python :: 3.5',
1 by john.lenton at canonical
initial import
50
        ],
29.2.4 by Ricardo Kirkner
added author info
51
      author='John R. Lenton, Ricardo Kirkner',
52
      author_email='john.lenton@canonical.com, ricardo.kirkner@canonical.com',
1 by john.lenton at canonical
initial import
53
      url='https://launchpad.net/configglue',
54
      license='BSD License',
103.2.6 by Ricardo Kirkner
updated setup.py
55
      install_requires=install_requires,
68.1.1 by Ricardo Kirkner
removed dependency on python-xdgapp
56
      dependency_links=['http://www.freedesktop.org/wiki/Software/pyxdg'],
42.5.1 by Ricardo Kirkner
moved tests into configglue namespace
57
      packages=find_packages(),
1 by john.lenton at canonical
initial import
58
      include_package_data=True,
59
      zip_safe=True,
42.5.1 by Ricardo Kirkner
moved tests into configglue namespace
60
      test_suite='configglue.tests',
29.2.3 by Ricardo Kirkner
added mock to test requires
61
      tests_require=['mock'],
31.1.1 by Ricardo Kirkner
added __version__ attribute
62
)