-
Notifications
You must be signed in to change notification settings - Fork 159
/
setup.py
85 lines (79 loc) · 3.13 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
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
#
# sipvicious/setup.py
#
# Copyright (C) 2007-2021 Sandro Gauci <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
import io
import sys
if sys.version_info[0] < 3:
raise Exception("Must be using Python 3")
from os import path
from setuptools import find_packages, setup
from sipvicious.libs.svhelper import __author__, __version__
this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as readme_file:
desc = readme_file.read()
setup(name='sipvicious',
version=__version__,
description='SIPVicious suite is a set of tools that can be used to audit SIP based VoIP systems.',
long_description = desc,
long_description_content_type='text/markdown',
author=__author__,
license='GPL',
url='https://github.com/EnableSecurity/sipvicious',
project_urls={
"Bug Tracker": "https://github.com/EnableSecurity/sipvicious/issues",
"Source Code": "https://github.com/EnableSecurity/sipvicious/tree/master",
},
download_url=f'https://github.com/EnableSecurity/sipvicious/archive/v{__version__}.zip',
packages=find_packages(),
data_files = [("share/man/man1", [
"man1/svcrack.1",
"man1/svcrash.1",
"man1/svmap.1",
"man1/svreport.1",
"man1/svwar.1",
])
],
entry_points={
'console_scripts': [
'sipvicious_svmap = sipvicious.svmap:main',
'sipvicious_svwar = sipvicious.svwar:main',
'sipvicious_svcrack = sipvicious.svcrack:main',
'sipvicious_svreport = sipvicious.svreport:main',
'sipvicious_svcrash = sipvicious.svcrash:main',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'Topic :: Internet',
'Topic :: Security',
'Topic :: System :: Networking',
'Topic :: Communications :: Telephony',
'Topic :: Communications :: Internet Phone',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent'
],
keywords='telephony sip audit scanner voip',
python_requires='>=3.6',
)