forked from doyensec/regexploit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (38 loc) · 1.35 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="regexploit",
version="1.0.0",
author="Ben Caller :: Doyensec",
author_email="[email protected]",
description="Find regular expressions vulnerable to ReDoS",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/doyensec/regexploit",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
'License :: OSI Approved :: Apache Software License',
"Operating System :: OS Independent",
],
python_requires=">=3.8",
extras_require={
"yaml": ['pyyaml>=5.3.1']
},
scripts=[
# Easy-install uses imports, so can miss findings
"regexploit/bin/regexploit-python-env",
],
entry_points={
"console_scripts": [
"regexploit=regexploit.bin.regexploit:main",
"regexploit-js=regexploit.bin.regexploit_js:main",
"regexploit-py=regexploit.bin.regexploit_python_ast:main",
"regexploit-yaml=regexploit.bin.regexploit_yaml:main_yaml",
"regexploit-json=regexploit.bin.regexploit_yaml:main",
"regexploit-csharp=regexploit.bin.regexploit_csharp:main",
],
},
)