forked from yandex/gixy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.29 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
import re
from setuptools import setup, find_packages
with open('gixy/__init__.py', 'r') as fd:
version = re.search(r'^version\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name='gixy',
version=version,
description='Nginx configuration [sec]analyzer',
keywords='nginx security lint static-analysis',
author='Yandex IS Team',
author_email='[email protected]',
url='https://github.com/yandex/gixy',
install_requires=[
'pyparsing>=1.5.5,<3',
'cached-property>=1.2.0',
'argparse>=1.4.0;python_version<"3.2"',
'six>=1.1.0',
'Jinja2>=2.8',
'ConfigArgParse>=0.11.0'
],
entry_points={
'console_scripts': ['gixy=gixy.cli.main:main'],
},
test_suite='nose.collector',
packages=find_packages(exclude=['tests', 'tests.*']),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Intended Audience :: Developers',
'Topic :: Security',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing'
],
include_package_data=True
)