mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix setup.py
This commit is contained in:
parent
86da13e861
commit
c791f32449
1 changed files with 5 additions and 5 deletions
10
setup.py
10
setup.py
|
|
@ -11,11 +11,11 @@ from setuptools import setup, find_packages
|
|||
with open(os.path.join(os.path.dirname(__file__), 'burpui', '__init__.py')) as f:
|
||||
data = f.read()
|
||||
|
||||
name = re.search("__title__ = '(.*)'", data).group(1)
|
||||
author = re.search("__author__ = '(.*)'", data).group(1)
|
||||
author_email = re.search("__author_email__ = '(.*)'", data).group(1)
|
||||
description = re.search("__description__ = '(.*)'", data).group(1)
|
||||
url = re.search("__url__ = '(.*)'", data).group(1)
|
||||
name = re.search("__title__ *= *'(.*)'", data).group(1)
|
||||
author = re.search("__author__ *= *'(.*)'", data).group(1)
|
||||
author_email = re.search("__author_email__ *= *'(.*)'", data).group(1)
|
||||
description = re.search("__description__ *= *'(.*)'", data).group(1)
|
||||
url = re.search("__url__ *= *'(.*)'", data).group(1)
|
||||
|
||||
with open('requirements.txt', 'r') as f:
|
||||
requires = [x.strip() for x in f if x.strip()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue