diff options
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 76 |
1 files changed, 41 insertions, 35 deletions
@@ -1,40 +1,46 @@ +import sys + from setuptools import find_packages, setup + +if sys.hexversion < 0x30500f0: + print('Mailman requires at least Python 3.5') + sys.exit(1) + setup( - name='mailman_pgp', - version='0.1', - description='A PGP plugin for the GNU Mailman mailing list manager', - long_description="""\ + name='mailman_pgp', + version='0.1', + description='A PGP plugin for the GNU Mailman mailing list manager', + long_description="""\ A plugin for GNU Mailman that adds encrypted mailing lists via PGP/MIME.""", - url='https://gitlab.com/J08nY/mailman-pgp', - author='Jan Jancar', - author_email='johny@neuromancer.sk', - license='GPLv3', - classifiers=[ - 'Development Status :: 2 - Pre-Alpha', - 'Intended Audience :: System Administrators', - 'Operating System :: POSIX', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Topic :: Communications :: Email :: Mailing List Servers', - ], - keywords='email pgp', - packages=find_packages('src'), - package_dir={'': 'src'}, - install_requires=[ - 'mailman>=3.1.1', - 'PGPy', - 'atpublic', - 'flufl.lock', - 'sqlalchemy', - 'zope.interface', - 'zope.event' - ], - tests_require=[ - 'flufl.testing', - 'parameterized', - 'nose2' - ], - test_suite='nose2.collector.collector' + url='https://gitlab.com/J08nY/mailman-pgp', + author='Jan Jancar', + author_email='johny@neuromancer.sk', + license='GPLv3', + classifiers=[ + 'Development Status :: 2 - Pre-Alpha', + 'Intended Audience :: System Administrators', + 'Operating System :: POSIX', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Topic :: Communications :: Email :: Mailing List Servers', + ], + keywords='email pgp', + packages=find_packages('src'), + package_dir={'': 'src'}, + install_requires=[ + 'mailman>=3.1.1', + 'PGPy', + 'atpublic', + 'flufl.lock', + 'sqlalchemy', + 'zope.interface', + 'zope.event' + ], + tests_require=[ + 'flufl.testing', + 'parameterized', + 'nose2' + ], + test_suite='nose2.collector.collector' ) |
