add mitmweb executable

This commit is contained in:
Maximilian Hils 2015-03-06 10:03:11 +01:00
parent 8c1978b7bf
commit 60dc5e0fe3
1 changed files with 3 additions and 2 deletions

View File

@ -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])