-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 1.16 KB
/
setup.py
File metadata and controls
28 lines (26 loc) · 1.16 KB
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
#!/usr/bin/env python2.7
import os
from setuptools import setup
setup(name='python-openvas',
version = os.getenv('VERSION'),
description = 'OpenVAS Scanner wrapper',
long_description = 'Python wrapper for OpenVAS Scanner',
author = 'Yohan Pipereau',
author_email = 'yohan.pipereau@gmail.com',
url = 'https://github.com/YohanPipereau/python-openvas',
license = 'GPL3',
platforms = 'Linux',
install_requires = ['progressbar'], # Dependencies
keywords=['OpenVAS'], # What does your project relate to?
#scripts to detect
scripts=['python_openvas/python-openvas', 'python_openvas/openvas-blacklist', 'magicredis'],
#package to detect:
packages = ['python_openvas'],
# Specify lib directory as the package directory for python_openvas
package_dir = {'python_openvas': 'python_openvas/lib'},
# Additional files:
data_files = [('/opt/python-openvas/reports', []),
('/opt/python-openvas/etc', ['python_openvas/conf/scan.conf']),
('/opt/python-openvas/etc', ['python_openvas/conf/blacklist.conf']),
], #right path copied into left path (created if necessary)
)