forked from Yelp/detect-secrets
-
Notifications
You must be signed in to change notification settings - Fork 45
/
setup.py
58 lines (54 loc) · 1.63 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
50
51
52
53
54
55
56
57
58
import sys
if sys.version_info.major == 2:
sys.exit(
'Sorry, Python 2 is no longer supported by detect-secrets. Refer to' +
' http://ibm.biz/upgrade-to-py3 for instructions on upgraing to Python 3.',
)
from setuptools import find_packages
from setuptools import setup
from detect_secrets import VERSION
setup(
name='detect_secrets',
packages=find_packages(exclude=(['test*', 'tmp*'])),
version=VERSION,
description='Tool for detecting secrets in the codebase',
long_description=(
'Check out detect-secrets on `GitHub ' +
'<https://github.com/IBM/detect-secrets>`_!'
),
url='hhttps://github.com/IBM/detect-secrets',
keywords=['secret-management', 'pre-commit', 'security', 'entropy-checks'],
install_requires=[
'pyyaml',
'requests',
'urllib3<2.0.0',
'boxsdk[jwt]',
'packaging',
'tabulate',
'binaryornot',
],
extras_require={
'word_list': [
'pyahocorasick',
],
'db2': [
'ibm_db',
],
},
entry_points={
'console_scripts': [
'detect-secrets = detect_secrets.main:main',
'detect-secrets-hook = detect_secrets.pre_commit_hook:main',
],
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Utilities',
'Environment :: Console',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
],
)