This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
forked from golismero/openvas_lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (62 loc) · 2.36 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
__license__ = """
OpenVAS Manager OMPv4 and XML parser.
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.
"""
# Text describing the module.
description = 'OpenVAS Manager for OpenVAS 6 to 8 and XML report parser'
try:
readme = os.path.join(os.getcwd(), 'README.rst')
long_description = open(readme, 'rU').read()
except IOError:
long_description = description
# Set the parameters for the setup script.
metadata = {
# Setup instructions.
'provides': ['openvas_lib'],
'packages': ['openvas_lib'],
# Metadata.
'name': 'openvas_lib',
'version': '1.1.2',
'description': description,
'long_description': long_description,
'author': 'Daniel Garcia Garcia (cr0hn)',
'author_email': 'cr0hn' + '@' + 'cr0hn.com',
'license': 'GPLv2',
'url': 'http://www.golismero.com/',
'download_url': 'https://github.com/golismero/openvas_lib/zipball/master',
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: POSIX :: BSD :: FreeBSD',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Security',
],
}
# Execute the setup script.
def main():
setup(**metadata)
if __name__ == '__main__':
main()