-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
52 lines (45 loc) · 1.41 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
# Copyright (c) 2020, eQualit.ie inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import absolute_import
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# README as the long description
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
REQUIREMENTS = [i.strip() for i in open('requirements.txt').readlines()]
tests_require = [
'pytest',
'mock',
'spark-testing-base'
]
setup(name='baskerville',
version='1.0.0',
description='Baskerville is a Security Analytics Engine for DDoS attacks mitigation',
long_description=long_description,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
test_suite='pytest.collector',
install_requires=REQUIREMENTS,
include_package_data=True,
package_dir={'': 'src'},
packages=[
'baskerville',
'baskerville.features',
'baskerville.util',
'baskerville.models',
'baskerville.models.metrics',
'baskerville.db',
'baskerville.spark',
'baskerville.transport',
'baskerville.simulation',
],
scripts=['scripts/baskerville'],
)