File: setup.py

package info (click to toggle)
modsecurity 3.0.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88,920 kB
  • sloc: ansic: 174,512; sh: 43,569; cpp: 26,214; python: 15,734; makefile: 3,864; yacc: 2,947; lex: 1,359; perl: 1,243; php: 42; tcl: 4
file content (49 lines) | stat: -rw-r--r-- 1,425 bytes parent folder | download | duplicates (4)
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
 nickg@client9.com
 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     = 'nickg@client9.com',
    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'
        ]
    )