Adds netifaces module in the setup dependencies.

pull/100/head
grossmj 9 years ago
parent 6d56da03e5
commit 30ed89847b

@ -91,7 +91,7 @@ def interfaces():
results.append({"id": interface,
"name": interface})
except ImportError:
return
raise aiohttp.web.HTTPInternalServerError(text="Could not import netifaces module")
else:
try:
results = get_windows_interfaces()

@ -39,6 +39,9 @@ dependencies = ["aiohttp==0.14.4",
"Jinja2==2.7.3",
"raven==5.2.0"]
if not sys.platform.startswith("win"):
dependencies.append("netifaces==0.10.4")
if sys.version_info == (3, 3):
dependencies.append("asyncio==3.4.2")

Loading…
Cancel
Save