* Removed gettext import and setup in VirtualMailManager/:
- 'Account.py'
- 'Alias.py'
- 'Config.py'
- 'Domain.py'
- 'MailLocation.py'
- 'Transport.py'
- 'VirtualMailManager.py'
* 'VirtualMailManager/VirtualMailManager.py'
- Renamed methods in class VirtualMailManager:
+ __chkLocalpart() -> chkLocalpart()
+ __chkDomainname() -> chkDomainname()
+ __chkEmailAddress() -> chkEmailAddress()
- VirtualMailManager.chkLocalpart() check also for len() < 1 *Oops*
- VirtualMailManager.user_delete() explains why the home directory
couldn't be deleted, if it wasn't deleted.
* 'VirtualMailManager/Account.py'
- Account.__init__() checks address with
VirtualMailManager.chkEmailAddress()
* 'VirtualMailManager/Exceptions.py'
- Added class VMMDomainAliasException
* 'vmm'
- Implemented: w_err(), w_std()
- Uses gettexts install()
- Converts all args from sys.argv to unicode - available via global argv
- Replaced many sys.argv by argv
* 'po/de.po'
* 'po/vmm.pot'
- updated
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2007-2008 VEB IT
# See COPYING for distribution information.
# $Id$
import os
from distutils.core import setup
from VirtualMailManager.constants.VERSION import VERSION
long_description = """
Virtual Mail Manager is a command line tool for administrators/postmasters to
manage domains, accounts and aliases. It's designed for Dovecot and Postfix
with a PostgreSQL backend.
"""
# remove existing MANIFEST
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
setup(name='VirtualMailManager',
version=VERSION,
description='Tool to manage mail domains/accounts/aliases for Dovecot and Postfix',
long_description=long_description,
packages=['VirtualMailManager', 'VirtualMailManager.constants'],
author='Pascal Volk',
author_email='p.volk@veb-it.de',
license='BSD License',
url='http://vmm.sf.net/',
download_url='http://sf.net/project/showfiles.php?group_id=213727',
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: POSIX :: BSD',
'Operating System :: POSIX :: Linux',
'Operating System :: POSIX :: Other',
'Programming Language :: Python',
'Topic :: Communications :: Email',
'Topic :: System :: Systems Administration'
],
requires=['pyPgSQL']
)