-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
71 lines (56 loc) · 2.45 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""Setuptools setup file for intelmq-mailgen.
"""
# Always prefer setuptools over distutils
from setuptools import setup
# To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
setup(
name='intelmqmail',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.3.6',
description='A mail sending module for IntelMQ',
# The project's main homepage.
url='https://github.com/intevation/intelmq-mailgen',
# Author details
author='Intevation GmbH',
author_email='[email protected]',
# Choose your license
license='GNU Affero General Public License',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
# What does your project relate to?
keywords='intelmq mailer postgresql abuse-handling',
packages=['intelmqmail'],
install_requires=[
'psycopg2',
# Ubuntu 20.04 focal's python3-gpg does not correctly provide the python-package's metadata.
# Requiring gpg here would result in
# > pkg_resources.DistributionNotFound: The 'gpg>=1.10' distribution was not found and is required by intelmqmail
# https://bugs.launchpad.net/ubuntu/+source/gpgme1.0/+bug/1977645
# The dependency can be reactivated when the bug is fixed upstream
# 'gpg >= 1.10', # /!\ can (probably) **not** be installed via pip
# * (optional) pyxarf v>0.0.5 for python3 installed
# https://github.com/xarf/python-xarf
# (v==0.0.5 does **not** work)
# version 2502a80ae9178a1ba0b76106c800d0e4b779d8da shall work
],
entry_points={
'console_scripts': [
'intelmqcbmail = intelmqmail.cb:main',
],
},
)