diff options
| author | J08nY | 2017-08-10 17:27:02 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-10 17:27:17 +0200 |
| commit | 5fc418fe1be80e1fe8170919c0caf1dae63d4275 (patch) | |
| tree | 335f16ccf583e9105f293bd481955d7f51ccc516 /setup.py | |
| parent | 63015d4b7d2635f2d38f28ffd7e3821f8ae647d0 (diff) | |
| download | mailman-pgp-0.2.0.tar.gz mailman-pgp-0.2.0.tar.zst mailman-pgp-0.2.0.zip | |
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -2,21 +2,25 @@ import sys from setuptools import find_packages, setup - if sys.hexversion < 0x30500f0: print('Mailman requires at least Python 3.5') sys.exit(1) +from importlib.machinery import SourceFileLoader + +_init = SourceFileLoader('__init__', + 'src/mailman_pgp/__init__.py').load_module() + setup( name='mailman_pgp', - version='0.1', + version=_init.__version__, 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=_init.__author__, author_email='johny@neuromancer.sk', - license='GPLv3', + license=_init.__license__, classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: System Administrators', @@ -28,10 +32,10 @@ A plugin for GNU Mailman that adds encrypted mailing lists via PGP/MIME.""", keywords='email pgp', packages=find_packages('src'), package_dir={'': 'src'}, + python_requires='>=3.5', install_requires=[ 'mailman>=3.2.0a1', - 'PGPy', - 'pyasn1==0.3.1', + 'PGPy>=0.4.2', 'atpublic', 'flufl.lock', 'sqlalchemy', @@ -43,5 +47,9 @@ A plugin for GNU Mailman that adds encrypted mailing lists via PGP/MIME.""", 'parameterized', 'nose2' ], - test_suite='nose2.collector.collector' + test_suite='nose2.collector.collector', + dependency_links=[ + 'https://github.com/J08nY/PGPy/archive/dev.zip#egg=PGPy-0.4.2', + 'https://gitlab.com/J08nY/mailman/repository/archive.tar.gz?ref=plugin#egg=mailman-3.2.0a1' + ] ) |
