-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (34 loc) · 1.42 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 = "httpd_pyparser",
description="HTTP daemons config files parser for Python 3",
long_description = """
httpd_pyparser is a parser collection library, 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="""AGPLv3""",
version = "0.3",
author = "Ervin Hegedus",
author_email = "[email protected]",
maintainer = "Ervin Hegedus",
maintainer_email = "[email protected]",
url = "https://github.com/digitalwave/httpd_pyparser",
packages = ['httpd_pyparser'],
install_requires=[
"ply >= 3.0"
],
classifiers = [
'Topic :: Text Processing'
],
#data_files = [
# ('../../', ['apacheparsetab.py', 'nginxparsetab'])
#],
include_package_data = True,
zip_safe = False
)