-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathsetup.py
63 lines (57 loc) · 2.03 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
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
README = fh.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
requirements = open(os.path.join(os.path.dirname(__file__),
'requirements.txt')).read()
requires = requirements.strip().split('\n')
extra_requirements = open(os.path.join(os.path.dirname(__file__),
'requirements-testing.txt')).read()
extra_requires = extra_requirements.strip().split('\n')
if not isinstance(extra_requires, list):
print("requirements-testing.txt was not parsed correctly.")
extra_requires = []
setup(
name='threatingestor',
version='1.4.0',
include_package_data=True,
install_requires=requires,
extras_require={
'twitter': ['twitter'],
'rss': ['feedparser'],
'misp': ['PyMISP'],
'threatkb': ['threatkb'],
'beanstalk': ['greenstalk'],
'sqs': ['boto3'],
'mysql': ['pymysql'],
'extras': ['hug', 'boto3', 'greenstalk', 'watchdog'],
'all': extra_requires,
},
entry_points={
'console_scripts': [
'threatingestor = threatingestor:main'
]
},
license='GPL',
description='Extract and aggregate IOCs from threat feeds.',
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/InQuest/ThreatIngestor',
author='InQuest Labs',
author_email='[email protected]',
packages=find_packages(),
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Security',
'Topic :: Internet',
],
)