-
Notifications
You must be signed in to change notification settings - Fork 154
/
setup.py
72 lines (65 loc) · 1.88 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python3
import os
import sys
import glob
from pathlib import Path
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
readme = readme_file.read()
entries = []
for file in sorted(Path('habu/cli/').glob('cmd_*.py')):
cmd_file = file.stem
cmd_name = cmd_file.replace('cmd_', 'habu.').replace('_', '.')
entries.append("{cmd_name} = habu.cli.{cmd_file}:{cmd_file}".format(cmd_file=cmd_file, cmd_name=cmd_name))
setup(
name='habu',
version='0.1.39',
description='Hacking Toolkit',
long_description=readme,
long_description_content_type='text/x-rst',
author='Fabian Martinez Portantier',
author_email='[email protected]',
url='https://github.com/fportantier/habu',
license='BSD 3-clause',
install_requires=[
'beautifulsoup4',
'cryptography',
'click',
'dnspython',
'ipwhois',
'lxml',
'netifaces',
'pygments',
'regex',
'requests',
'requests-cache',
'python-whois',
'scapy',
'tldextract',
'validators',
],
tests_require=[
'pytest',
'pytest-runner',
],
entry_points={
'console_scripts': entries,
},
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Topic :: Security",
"Topic :: System :: Networking",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.8",
],
packages=['habu', 'habu.lib', 'habu.cli'],
include_package_data=True,
keywords=['security'],
zip_safe=False,
test_suite='py.test',
)