mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -06:00
56 lines
1.5 KiB
Python
Executable file
56 lines
1.5 KiB
Python
Executable file
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import shutil
|
|
import sys
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
# 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_##TPL##/VERSION')
|
|
|
|
readme = """
|
|
Burp-UI Meta package for ##TPL## requirements
|
|
"""
|
|
|
|
from burpui_##TPL## import __author__, __author_email__, __description__, \
|
|
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),
|
|
# requirements
|
|
],
|
|
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',
|
|
]
|
|
)
|