-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
37 lines (34 loc) · 1.37 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
from setuptools import setup, find_packages
setup(name = "msc_pyparser",
description="A ModSecurity config parser for Python 3",
long_description = """
msc_pyparser is a parser, which uses PLY (Python Lex and Yacc). It
tokenizes the given text, and applies the language rules. If it's done, then
builds an own structure: a list of dictionary items.
The items contains the configuration directives from the original files, and
the number of lines where it founded. Also the items contains other datas about
the configuration line and structure.
Therefore, you can make many transformations on the structured data, and can
write back the modified config.
""",
python_requires=">=3",
license="""GPLv3""",
version = "1.2.1",
author = "Ervin Hegedus",
author_email = "[email protected]",
maintainer = "Ervin Hegedus",
maintainer_email = "[email protected]",
url = "https://github.com/digitalwave/msc_pyparser",
py_modules = ['msc_pyparser'],
install_requires=[
"ply >= 3.0"
],
classifiers = [
'Topic :: Text Processing'
],
data_files = [
('.', ['parsetab.py', 'parser.out'])
],
include_package_data = True,
zip_safe = False
)