setup.py
changeset 0 bb0aa2102206
child 2 9b39f828aa8a
equal deleted inserted replaced
-1:000000000000 0:bb0aa2102206
       
     1 #!/usr/bin/env python
       
     2 # -*- coding: utf-8 -*-
       
     3 # Copyright 2007-2008 VEB IT
       
     4 # See COPYING for distribution information.
       
     5 # $Id$
       
     6 
       
     7 import os
       
     8 from distutils.core import setup
       
     9 
       
    10 VERSION = '0.3'
       
    11 
       
    12 long_description = """
       
    13 Virtual Mail Manager is a command line tool for administrators/postmasters to
       
    14 manage domains, accounts and aliases. It's designed for Dovecot and Postfix
       
    15 with a PostgreSQL backend.
       
    16 """
       
    17 
       
    18 libdir = '/usr/local/lib'
       
    19 
       
    20 # remove existing MANIFEST
       
    21 if os.path.exists('MANIFEST'):
       
    22     os.remove('MANIFEST')
       
    23 
       
    24 
       
    25 setup(name='VirtualMailManager',
       
    26       version=VERSION,
       
    27       description='Tool to manage mail domains/accounts/aliases for Dovecot and Postfix',
       
    28       long_description=long_description,
       
    29       packages=['VirtualMailManager', 'VirtualMailManager.constants'],
       
    30 #      data_files=[(libdir, [
       
    31 #          'VirtualMailManager/Account.py',
       
    32 #          'VirtualMailManager/Alias.py',
       
    33 #          'VirtualMailManager/Config.py',
       
    34 #          'VirtualMailManager/Domain.py',
       
    35 #          'VirtualMailManager/Exceptions.py',
       
    36 #          'VirtualMailManager/__init__.py',
       
    37 #          'VirtualMailManager/VirtualMailManager.py']
       
    38 #          ),
       
    39 #          (libdir+'/constants', [
       
    40 #              'VirtualMailManager/constants/ERROR.py',
       
    41 #              'VirtualMailManager/constants/EXIT.py',
       
    42 #              'VirtualMailManager/constants/__init__.py']
       
    43 #          )
       
    44 #      ],
       
    45       author='Pascal Volk',
       
    46       author_email='p.volk@veb-it.de',
       
    47       license='BSD License',
       
    48       url='http://vmm.sf.net/',
       
    49       download_url='http://sourceforge.net/project/showfiles.php?group_id=213727',
       
    50       classifiers=[
       
    51           'Development Status :: 4 - Beta',
       
    52           'Development Status :: 5 - Production/Stable',
       
    53           'Environment :: Console',
       
    54           'Intended Audience :: System Administrators',
       
    55           'License :: OSI Approved :: BSD License',
       
    56           'Natural Language :: English',
       
    57           'Operating System :: POSIX',
       
    58           'Operating System :: POSIX :: BSD',
       
    59           'Operating System :: POSIX :: Linux',
       
    60           'Operating System :: POSIX :: Other',
       
    61           'Programming Language :: Python',
       
    62           'Topic :: Communications :: Email :: Mail Transport Agents',
       
    63           'Topic :: Communications :: Email :: Post-Office :: IMAP',
       
    64           'Topic :: Communications :: Email :: Post-Office :: POP3'
       
    65       ],
       
    66       requires=['pyPgSQL']
       
    67       )