-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
34 lines (30 loc) · 1.15 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
import io
import re
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
__version__ = re.search(r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
io.open('keycloak_scanner/_version.py', encoding='utf_8_sig').read()
).group(1)
setup(name='keycloak-scanner',
version=__version__,
description='Keycloak vulnerabilities scanner',
url='http://github.com/neuronaddict/keycloak-scanner',
author='neuronaddict',
author_email='',
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'keycloak-scanner = keycloak_scanner.main:main'
]
},
license='Apache 2.0',
packages=find_packages(),
zip_safe=False, install_requires=['requests', 'termcolor', 'pyjwt', 'urllib3', 'beautifulsoup4'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires='>=3.6')