setup.py 2.08 KB
Newer Older
unknown's avatar
unknown committed
1
###############################################################################
2
#
unknown's avatar
unknown committed
3
# configglue -- glue for your apps' configuration
4
#
unknown's avatar
unknown committed
5
# A library for simple, DRY configuration of applications
6
#
7 8 9
# (C) 2009--2011 by Canonical Ltd.
# by John R. Lenton <john.lenton@canonical.com>
# and Ricardo Kirkner <ricardo.kirkner@canonical.com>
10
#
11
# Released under the BSD License (see the file LICENSE)
12
#
13
# For bug reports, support, and new releases: http://launchpad.net/configglue
14
#
unknown's avatar
unknown committed
15 16
###############################################################################

17

18 19 20 21 22
from setuptools import (
    find_packages,
    setup,
)

23
import configglue
Ricardo Kirkner's avatar
Ricardo Kirkner committed
24 25


26
install_requires = ['pyxdg']
unknown's avatar
unknown committed
27 28 29


setup(name='configglue',
30
      version=configglue.__version__,
unknown's avatar
unknown committed
31 32 33 34 35 36 37 38 39 40 41
      description="Glue to stick OptionParser and ConfigParser together",
      long_description="""
configglue is a library that glues together python's optparse.OptionParser and
ConfigParser.ConfigParser, so that you don't have to repeat yourself when you
want to export the same options to a configuration file and a commandline
interface.
""",
      classifiers=[
        'License :: OSI Approved :: BSD License',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Programming Language :: Python',
Ricardo Kirkner's avatar
Ricardo Kirkner committed
42
        'Programming Language :: Python :: 2',
43
        'Programming Language :: Python :: 2.6',
Ricardo Kirkner's avatar
Ricardo Kirkner committed
44 45
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
46
        'Programming Language :: Python :: 3.2',
Ricardo Kirkner's avatar
Ricardo Kirkner committed
47
        'Programming Language :: Python :: 3.3',
48 49
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
unknown's avatar
unknown committed
50
        ],
Ricardo Kirkner's avatar
Ricardo Kirkner committed
51 52
      author='John R. Lenton, Ricardo Kirkner',
      author_email='john.lenton@canonical.com, ricardo.kirkner@canonical.com',
unknown's avatar
unknown committed
53 54
      url='https://launchpad.net/configglue',
      license='BSD License',
Ricardo Kirkner's avatar
Ricardo Kirkner committed
55
      install_requires=install_requires,
56
      dependency_links=['http://www.freedesktop.org/wiki/Software/pyxdg'],
57
      packages=find_packages(),
unknown's avatar
unknown committed
58 59
      include_package_data=True,
      zip_safe=True,
60
      test_suite='configglue.tests',
61
      tests_require=['mock'],
62
)