mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
parent
afa4ba9b55
commit
4216c5d2ed
16
setup.py
16
setup.py
@ -19,6 +19,10 @@ import sys
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from setuptools.command.test import test as TestCommand
|
from setuptools.command.test import test as TestCommand
|
||||||
|
|
||||||
|
# we only support Python 3 version >= 3.3
|
||||||
|
if sys.version_info < (3, 3):
|
||||||
|
raise SystemExit("Python 3.3 or higher is required")
|
||||||
|
|
||||||
|
|
||||||
class PyTest(TestCommand):
|
class PyTest(TestCommand):
|
||||||
|
|
||||||
@ -35,13 +39,13 @@ class PyTest(TestCommand):
|
|||||||
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
#"gns3-netifaces>=0.10.4.1",
|
# "gns3-netifaces>=0.10.4.1",
|
||||||
"aiohttp>=0.14.4",
|
"aiohttp>=0.14.4",
|
||||||
"jsonschema>=2.4.0",
|
"jsonschema>=2.4.0",
|
||||||
"Jinja2>=2.7.3",
|
"Jinja2>=2.7.3",
|
||||||
"raven>=5.2.0"]
|
"raven>=5.2.0"]
|
||||||
|
|
||||||
#if not sys.platform.startswith("win"):
|
# if not sys.platform.startswith("win"):
|
||||||
# dependencies.append("netifaces==0.10.4")
|
# dependencies.append("netifaces==0.10.4")
|
||||||
|
|
||||||
if sys.version_info == (3, 3):
|
if sys.version_info == (3, 3):
|
||||||
|
Loading…
Reference in New Issue
Block a user