mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 14:16:08 -06:00
new burp-ui-extra meta-package
This commit is contained in:
parent
d6b012d1b7
commit
2fa11010b1
4 changed files with 89 additions and 0 deletions
2
pkgs/burp-ui-extra/MANIFEST.in
Normal file
2
pkgs/burp-ui-extra/MANIFEST.in
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
include README
|
||||
graft burpui_extra
|
||||
1
pkgs/burp-ui-extra/README
Normal file
1
pkgs/burp-ui-extra/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Burp-UI Meta package for extra requirements
|
||||
27
pkgs/burp-ui-extra/burpui_extra/__init__.py
Normal file
27
pkgs/burp-ui-extra/burpui_extra/__init__.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# -*- coding: utf8 -*-
|
||||
"""
|
||||
Burp-UI is a web-ui for burp backup written in python with Flask and
|
||||
jQuery/Bootstrap
|
||||
|
||||
.. module:: burpui_extra
|
||||
:platform: Unix
|
||||
:synopsis: Burp-UI extra dummy module.
|
||||
|
||||
.. moduleauthor:: Ziirish <hi+burpui@ziirish.me>
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
__title__ = 'burp-ui-extra'
|
||||
__author__ = 'Benjamin SANS (Ziirish)'
|
||||
__author_email__ = 'hi+burpui@ziirish.me'
|
||||
__url__ = 'https://git.ziirish.me/ziirish/burp-ui'
|
||||
__description__ = ('Burp-UI is a web-ui for burp backup written in python with '
|
||||
'Flask and jQuery/Bootstrap')
|
||||
__license__ = 'BSD 3-clause'
|
||||
|
||||
ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)))
|
||||
if os.path.exists(os.path.join(ROOT, 'VERSION')):
|
||||
__version__ = open(os.path.join(ROOT, 'VERSION')).read().rstrip()
|
||||
else:
|
||||
__version__ = '0.4.4'
|
||||
59
pkgs/burp-ui-extra/setup.py
Executable file
59
pkgs/burp-ui-extra/setup.py
Executable file
|
|
@ -0,0 +1,59 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
import shutil
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
# only used to build the package
|
||||
ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..')
|
||||
|
||||
if os.path.exists(os.path.join(ROOT, 'burpui', 'VERSION')):
|
||||
shutil.copyfile(os.path.join(ROOT, 'burpui', 'VERSION'), 'burpui_extra/VERSION')
|
||||
|
||||
readme = """
|
||||
Burp-UI Meta package for extra requirements
|
||||
"""
|
||||
|
||||
from burpui_extra import __author__, __author_email__, __description__, \
|
||||
__url__, __title__, __version__, __license__
|
||||
name = __title__
|
||||
author = __author__
|
||||
author_email = __author_email__
|
||||
description = __description__
|
||||
url = __url__
|
||||
version = __version__
|
||||
license = __license__
|
||||
|
||||
setup(
|
||||
name=name,
|
||||
packages=find_packages(),
|
||||
version=version,
|
||||
description=description,
|
||||
long_description=readme,
|
||||
license=license,
|
||||
author=author,
|
||||
author_email=author_email,
|
||||
url=url,
|
||||
keywords='burp web ui backup monitoring',
|
||||
install_requires=[
|
||||
'burp-ui>={}'.format(version),
|
||||
'ujson',
|
||||
'redis',
|
||||
'Flask-Session==0.3.0'
|
||||
],
|
||||
classifiers=[
|
||||
'Framework :: Flask',
|
||||
'Intended Audience :: System Administrators',
|
||||
'Natural Language :: English',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: POSIX :: Linux',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Topic :: System :: Archiving :: Backup',
|
||||
'Topic :: System :: Monitoring',
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue