-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
setup.py
59 lines (51 loc) · 1.76 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
#!/usr/bin/env python
"""Setup.py for zat"""
import os
from setuptools import setup, find_packages
readme = open('README.md').read()
# Pull in the package info
package_name = 'zat'
package = __import__(package_name)
version = package.__version__
author = package.__author__
email = package.__email__
# Data and Example Files
def get_files(dir_name):
"""Simple directory walker"""
return [(os.path.join('.', d), [os.path.join(d, f) for f in files]) for d, _, files in os.walk(dir_name)]
setup(
name=package_name,
version=version,
description='Zeek Analysis Tools',
long_description=readme,
long_description_content_type='text/markdown',
author=author,
author_email=email,
url='https://github.com/SuperCowPowers/zat',
packages=find_packages(),
include_package_data=True,
data_files=get_files('data') + get_files('examples'),
install_requires=[
'requests',
'watchdog',
'pandas',
'scikit-learn'
],
extras_require={
'pyspark': ['pyspark'],
'all': ['pyspark', 'pyarrow', 'yara-python', 'tldextract']
},
license='Apache',
keywords='Zeek, Bro, Python, Networking, Security, Scikit-Learn, Spark, Kafka, Parquet',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
)