Adding custom version of QualysAPI
This commit is contained in:
50
deps/qualysapi/setup.py
vendored
Normal file
50
deps/qualysapi/setup.py
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
import sys
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
__author__ = 'Parag Baxi <parag.baxi@gmail.com>'
|
||||
__copyright__ = 'Copyright 2011-2013, Parag Baxi'
|
||||
__license__ = 'BSD-new'
|
||||
# Make pyflakes happy.
|
||||
__pkgname__ = None
|
||||
__version__ = None
|
||||
exec(compile(open('qualysapi/version.py').read(), 'qualysapi/version.py', 'exec'))
|
||||
|
||||
|
||||
# A utility function to read the README file into the long_description field.
|
||||
def read(fname):
|
||||
""" Takes a filename and returns the contents of said file relative to
|
||||
the current directory.
|
||||
"""
|
||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||
|
||||
|
||||
setup(name=__pkgname__,
|
||||
version=__version__,
|
||||
author='Parag Baxi',
|
||||
author_email='parag.baxi@gmail.com',
|
||||
description='QualysGuard(R) Qualys API Package',
|
||||
license='BSD-new',
|
||||
keywords='Qualys QualysGuard API helper network security',
|
||||
url='https://github.com/paragbaxi/qualysapi',
|
||||
package_dir={'': '.'},
|
||||
packages=['qualysapi', ],
|
||||
# package_data={'qualysapi':['LICENSE']},
|
||||
# scripts=['src/scripts/qhostinfo.py', 'src/scripts/qscanhist.py', 'src/scripts/qreports.py'],
|
||||
long_description=read('README.md'),
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Topic :: Utilities',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Intended Audience :: Developers',
|
||||
],
|
||||
install_requires=[
|
||||
'requests',
|
||||
],
|
||||
)
|
Reference in New Issue
Block a user