-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (45 loc) · 1.54 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
#!/usr/bin/env python
"""Setup.py for zstreams"""
import os
from setuptools import setup, find_packages
readme = open('README.md').read()
# Pull in the package info
package_name = 'zstreams'
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 Streaming Tools',
long_description=readme,
long_description_content_type='text/markdown',
author=author,
author_email=email,
url='https://github.com/SuperCowPowers/zstreams',
packages=find_packages(),
include_package_data=True,
data_files=get_files('data') + get_files('examples'),
install_requires=[
'confluent-kafka',
'pyspark'
],
license='Apache',
keywords='Zeek, Bro, Python, Networking, Security, 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'
],
)