setup.py
author Pascal Volk <neverseen@users.sourceforge.net>
Mon, 05 Apr 2010 11:00:13 +0000
changeset 239 184970fd7486
parent 162 0ac9ef587769
child 163 1981f285f0c0
permissions -rw-r--r--
VMM/Domain: search() lists now all matching domains, also when the result contains primary and alias names, but the found alias is not an alias for any of the found primaries.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     1
#!/usr/bin/env python
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     2
# -*- coding: utf-8 -*-
162
0ac9ef587769 Updated copyright notices to include the year 2010.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 150
diff changeset
     3
# Copyright 2007 - 2010, Pascal Volk
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     4
# See COPYING for distribution information.
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     5
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     6
import os
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     7
from distutils.core import setup
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     8
150
3e972996da7f Released vmm-0.5.2
Pascal Volk <neverseen@users.sourceforge.net>
parents: 148
diff changeset
     9
VERSION = '0.5.2'
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    10
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    11
long_description = """
117
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    12
vmm, a virtual mail manager, is a command line tool for
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    13
administrators/postmasters to manage (alias-)domains, accounts,
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    14
aliases and relocated users.
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    15
It is designed for Dovecot and Postfix with a PostgreSQL backend.
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    16
"""
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    17
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    18
# remove existing MANIFEST
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    19
if os.path.exists('MANIFEST'):
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    20
    os.remove('MANIFEST')
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    21
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    22
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    23
setup(name='VirtualMailManager',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    24
      version=VERSION,
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    25
      description='Tool to manage mail domains/accounts/aliases for Dovecot and Postfix',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    26
      long_description=long_description,
86
e43e4e7e9ec0 * 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 60
diff changeset
    27
      packages=['VirtualMailManager', 'VirtualMailManager.ext',
e43e4e7e9ec0 * 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 60
diff changeset
    28
          'VirtualMailManager.constants'],
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    29
      author='Pascal Volk',
162
0ac9ef587769 Updated copyright notices to include the year 2010.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 150
diff changeset
    30
      author_email='neverseen@users.sourceforge.net',
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    31
      license='BSD License',
95
fc008eb12186 * 'VirtualMailManager/Config.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 86
diff changeset
    32
      url='http://vmm.localdomain.org/',
117
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    33
      download_url='http://sf.net/projects/vmm/files/',
c96b5768c76d Updated long_description, download_url and platforms.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    34
      platforms=['freebsd7', 'linux2', 'openbsd4'],
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    35
      classifiers=[
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    36
          'Development Status :: 4 - Beta',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    37
          'Development Status :: 5 - Production/Stable',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    38
          'Environment :: Console',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    39
          'Intended Audience :: System Administrators',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    40
          'License :: OSI Approved :: BSD License',
148
e574f5dedb60 Added the Dutch translation to the repository.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 139
diff changeset
    41
          'Natural Language :: Dutch',
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    42
          'Natural Language :: English',
139
7f6911bd11cd Added the French translation to the repository.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 117
diff changeset
    43
          'Natural Language :: French',
60
ac2fa80d9faf * 'setup.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 24
diff changeset
    44
          'Natural Language :: German',
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    45
          'Operating System :: POSIX',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    46
          'Operating System :: POSIX :: BSD',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    47
          'Operating System :: POSIX :: Linux',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    48
          'Operating System :: POSIX :: Other',
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    49
          'Programming Language :: Python',
24
48ea255e8a85 * 'vmm.cfg.5'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 4
diff changeset
    50
          'Topic :: Communications :: Email',
60
ac2fa80d9faf * 'setup.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 24
diff changeset
    51
          'Topic :: System :: Systems Administration',
ac2fa80d9faf * 'setup.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 24
diff changeset
    52
          'Topic :: Utilities'
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    53
      ],
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    54
      requires=['pyPgSQL']
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    55
      )