-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (46 loc) · 1.39 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
"""
libinjection module for python
Copyright 2012, 2013, 2014 Nick Galbreath
BSD License -- see COPYING.txt for details
"""
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
MODULE = Extension(
'_libinjection', [
'libinjection/libinjection_wrap.c',
'libinjection/libinjection_sqli.c',
'libinjection/libinjection_html5.c',
'libinjection/libinjection_xss.c'
],
swig_opts=['-Wextra', '-builtin'],
define_macros = [],
include_dirs = [],
libraries = [],
library_dirs = [],
)
setup (
name = 'libinjection',
version = '3.9.1',
description = 'Wrapper around libinjection c-code to detect sqli',
author = 'Nick Galbreath',
author_email = '[email protected]',
url = 'https://libinjection.client9.com/',
ext_modules = [MODULE],
packages = ['libinjection'],
long_description = '''
wrapper around libinjection
''',
classifiers = [
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Topic :: Database',
'Topic :: Security',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'Topic :: Internet :: Log Analysis',
'Topic :: Internet :: WWW/HTTP'
]
)