summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJ08nY2017-07-15 17:15:17 +0200
committerJ08nY2017-07-15 17:15:17 +0200
commit64572d90cac74f8967dfe9ef25206812d9986d63 (patch)
treef2cdaeee079a50dc4d1de5c8fe2805dea98d7150 /setup.py
parent33603ea1a10a0a0d976562a1a9c3c15a9e9b4721 (diff)
downloadmailman-pgp-64572d90cac74f8967dfe9ef25206812d9986d63.tar.gz
mailman-pgp-64572d90cac74f8967dfe9ef25206812d9986d63.tar.zst
mailman-pgp-64572d90cac74f8967dfe9ef25206812d9986d63.zip
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py76
1 files changed, 41 insertions, 35 deletions
diff --git a/setup.py b/setup.py
index b161b5c..c0e1518 100755
--- a/setup.py
+++ b/setup.py
@@ -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'
)