mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-16 06:18:19 +00:00
Drop netifaces (replaced by psutil). Fixes #344.
This commit is contained in:
12
setup.py
12
setup.py
@ -44,18 +44,10 @@ dependencies = [
|
||||
"Jinja2>=2.7.3",
|
||||
"raven>=5.2.0",
|
||||
"docker-py>=1.4.0",
|
||||
"psutil>=2.2.1"
|
||||
"psutil>=3.0.0"
|
||||
]
|
||||
|
||||
if not sys.platform.startswith("win"):
|
||||
# netifaces if not used on Windows
|
||||
try:
|
||||
import netifaces
|
||||
except ImportError:
|
||||
# add gns3-netifaces only if netifaces isn't already installed
|
||||
# for instance via a Debian package.
|
||||
dependencies.append("gns3-netifaces>=0.10.4.1")
|
||||
else:
|
||||
if sys.platform.startswith("win"):
|
||||
dependencies.append("pywin32>=219")
|
||||
|
||||
setup(
|
||||
|
Reference in New Issue
Block a user