forked from certtools/intelmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
104 lines (96 loc) · 2.83 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
REQUIRES = [
'dnspython3>=1.11.1',
'psutil>=1.2.1',
'python-dateutil>=2.0',
'python-termstyle>=0.1.10',
'pytz>=2014.1',
'redis>=2.10.3',
'requests>=2.2.0',
]
DATA = [
('/opt/intelmq/etc/',
['intelmq/bots/BOTS',
],
),
('/opt/intelmq/etc/examples',
['intelmq/etc/defaults.conf',
'intelmq/etc/harmonization.conf',
'intelmq/etc/pipeline.conf',
'intelmq/etc/runtime.conf',
'intelmq/etc/startup.conf',
'intelmq/etc/system.conf',
],
),
('/opt/intelmq/var/lib/bots/modify/example',
['intelmq/bots/experts/modify/modify.conf',
],
),
('/opt/intelmq/var/log/',
[],
),
('/opt/intelmq/var/lib/bots/file-output/',
[],
),
]
try:
import pypandoc
DESCRIPTION = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
DESCRIPTION = open('README.md').read()
exec(open('intelmq/version.py').read()) # defines __version__
setup(
name='intelmq',
version=__version__,
maintainer='Sebastian Wagner',
maintainer_email='[email protected]',
install_requires=REQUIRES,
tests_requires=REQUIRES+[
'mock>=1.1.1',
'nose',
],
test_suite='nose.collector',
packages=find_packages(),
package_data={'intelmq': [
'etc/*.conf',
'bots/BOTS',
'bots/experts/modify/*.conf',
]
},
include_package_data=True,
url='https://github.com/certtools/intelmq/',
license='AGPLv3',
description='IntelMQ is a solution for CERTs to process data feeds, '
'pastebins, tweets throught a message queue.',
long_description=DESCRIPTION,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Security',
],
keywords='incident handling cert csirt',
data_files=DATA,
entry_points={
'console_scripts': [
'intelmqctl = intelmq.bin.intelmqctl:main',
'intelmqdump = intelmq.bin.intelmqdump:main',
'intelmq_psql_initdb = intelmq.bin.intelmq_psql_initdb:main',
],
},
scripts=[
'intelmq/bots/experts/tor_nodes/update-tor-nodes',
'intelmq/bots/experts/maxmind_geoip/update-geoip-data',
'intelmq/bots/experts/asn_lookup/update-asn-data',
],
)