add mitmweb executable
This commit is contained in:
parent
8c1978b7bf
commit
60dc5e0fe3
5
setup.py
5
setup.py
|
@ -11,7 +11,7 @@ here = os.path.abspath(os.path.dirname(__file__))
|
||||||
with open(os.path.join(here, 'README.txt'), encoding='utf-8') as f:
|
with open(os.path.join(here, 'README.txt'), encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
scripts = ["mitmdump"]
|
scripts = ["mitmdump", "mitmweb"]
|
||||||
if os.name != "nt":
|
if os.name != "nt":
|
||||||
scripts.append("mitmproxy")
|
scripts.append("mitmproxy")
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@ script_deps = {
|
||||||
"lxml>=3.3.6",
|
"lxml>=3.3.6",
|
||||||
"Pillow>=2.3.0",
|
"Pillow>=2.3.0",
|
||||||
},
|
},
|
||||||
"mitmdump": set()
|
"mitmdump": set(),
|
||||||
|
"mitmweb": set()
|
||||||
}
|
}
|
||||||
for script in scripts:
|
for script in scripts:
|
||||||
deps.update(script_deps[script])
|
deps.update(script_deps[script])
|
||||||
|
|
Loading…
Reference in New Issue