mutt_ldap.py: Factor configuration out into a Config class
[mutt-ldap.git] / setup.py
1 # Copyright (C) 2013 W. Trevor King <wking@tremily.us>
2 #
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation, either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
16 from distutils.core import setup as _setup
17 import os.path as _os_path
18
19 import mutt_ldap as _mutt_ldap
20
21
22 _this_dir = _os_path.dirname(__file__)
23
24 _setup(
25     name='mutt-ldap',
26     version=_mutt_ldap.__version__,
27     maintainer='W. Trevor King',
28     maintainer_email='wking@tremily.us',
29     url='http://blog.tremily.us/posts/mutt-ldap/',
30     download_url='http://git.tremily.us/?p=mutt-ldap.git;a=snapshot;h=v{};sf=tgz'.format(_mutt_ldap.__version__),
31     license = 'GNU General Public License (GPL)',
32     platforms = ['all'],
33     description = _mutt_ldap.__doc__.splitlines()[0],
34     long_description=open(_os_path.join(_this_dir, 'README'), 'r').read(),
35     classifiers = [
36         'Development Status :: 3 - Alpha',
37         'Intended Audience :: End Users/Desktop',
38         'Operating System :: OS Independent',
39         'License :: OSI Approved :: GNU General Public License (GPL)',
40         'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
41         'Programming Language :: Python :: 2.6',
42         'Programming Language :: Python :: 2.7',
43         'Topic :: Communications :: Email',
44         ],
45     py_modules = ['mutt_ldap'],
46     scripts = ['mutt_ldap.py'],
47     )