2017-12-07 23:32:41 +00:00
|
|
|
# Setup module for Sigma toolchain
|
|
|
|
# derived from example at https://github.com/pypa/sampleproject/blob/master/setup.py
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
# To use a consistent encoding
|
|
|
|
from codecs import open
|
|
|
|
from os import path
|
2020-06-12 22:04:45 +00:00
|
|
|
from pathlib import Path
|
2017-12-07 23:32:41 +00:00
|
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
|
|
|
|
# Get the long description from the README file
|
2020-08-25 21:58:04 +00:00
|
|
|
with open(path.join(here, 'LONG_DESCRIPTION.md'), encoding='utf-8') as f:
|
2017-12-07 23:32:41 +00:00
|
|
|
long_description = f.read()
|
|
|
|
|
|
|
|
setup(
|
2017-12-08 23:15:34 +00:00
|
|
|
name='sigmatools',
|
2020-08-25 21:58:04 +00:00
|
|
|
version='0.18.1',
|
2017-12-07 23:32:41 +00:00
|
|
|
description='Tools for the Generic Signature Format for SIEM Systems',
|
|
|
|
long_description=long_description,
|
2019-05-30 20:47:03 +00:00
|
|
|
long_description_content_type="text/markdown",
|
2017-12-07 23:32:41 +00:00
|
|
|
url='https://github.com/Neo23x0/sigma',
|
2017-12-08 22:50:08 +00:00
|
|
|
author='Sigma Project',
|
2017-12-07 23:32:41 +00:00
|
|
|
author_email='thomas@patzke.org',
|
|
|
|
license='LGPLv3',
|
|
|
|
classifiers=[
|
2020-06-12 21:52:06 +00:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2017-12-07 23:32:41 +00:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: Information Technology',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'Topic :: Security',
|
|
|
|
'Topic :: Internet :: Log Analysis',
|
|
|
|
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
|
|
|
|
'Programming Language :: Python :: 3.6',
|
2019-01-13 23:26:03 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-06-12 21:52:06 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2017-12-07 23:32:41 +00:00
|
|
|
'Environment :: Console',
|
|
|
|
],
|
|
|
|
keywords='security monitoring siem logging signatures elasticsearch splunk ids sysmon',
|
2019-11-11 22:35:16 +00:00
|
|
|
packages=[
|
|
|
|
'sigma',
|
|
|
|
'sigma.backends',
|
|
|
|
'sigma.config',
|
|
|
|
'sigma.parser',
|
|
|
|
'sigma.parser.modifiers',
|
|
|
|
],
|
2019-03-16 00:02:48 +00:00
|
|
|
python_requires='~=3.6',
|
2019-11-09 23:09:59 +00:00
|
|
|
install_requires=['PyYAML', 'pymisp', 'progressbar2'],
|
2017-12-07 23:32:41 +00:00
|
|
|
extras_require={
|
|
|
|
'test': ['coverage', 'yamllint'],
|
|
|
|
},
|
2018-07-02 22:07:43 +00:00
|
|
|
data_files=[
|
2020-06-12 22:04:45 +00:00
|
|
|
('etc/sigma', [ str(p) for p in Path('config/').glob('*.yml') ]),
|
|
|
|
('etc/sigma/generic', [ str(p) for p in Path('config/generic/').glob('*.yml') ])],
|
2020-03-31 09:30:47 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2020-03-31 21:46:58 +00:00
|
|
|
'sigmac = sigma.sigmac:main',
|
|
|
|
'merge_sigma = sigma.merge_sigma:main',
|
|
|
|
'sigma2misp = sigma.sigma2misp:main',
|
2020-06-06 22:55:36 +00:00
|
|
|
'sigma2attack = sigma.sigma2attack:main',
|
2020-03-31 21:46:58 +00:00
|
|
|
'sigma_similarity = sigma.sigma_similarity:main',
|
|
|
|
'sigma_uuid = sigma.sigma_uuid:main',
|
2020-03-31 09:30:47 +00:00
|
|
|
],
|
|
|
|
},
|
2017-12-07 23:32:41 +00:00
|
|
|
)
|