|
|
@ -40,13 +40,14 @@ class PyTest(TestCommand):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dependencies = open("requirements.txt", "r").read().splitlines()
|
|
|
|
dependencies = open("requirements.txt", "r").read().splitlines()
|
|
|
|
|
|
|
|
test_dependencies = open("dev-requirements.txt", "r").read().splitlines()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
setup(
|
|
|
|
name="gns3-server",
|
|
|
|
name="gns3-server",
|
|
|
|
version=__import__("gns3server").__version__,
|
|
|
|
version=__import__("gns3server").__version__,
|
|
|
|
url="http://github.com/GNS3/gns3-server",
|
|
|
|
url="http://github.com/GNS3/gns3-server",
|
|
|
|
license="GNU General Public License v3 (GPLv3)",
|
|
|
|
license="GNU General Public License v3 (GPLv3)",
|
|
|
|
tests_require=["pytest", "pytest-capturelog", "pytest-asyncio", "httpx"],
|
|
|
|
tests_require=test_dependencies,
|
|
|
|
cmdclass={"test": PyTest},
|
|
|
|
cmdclass={"test": PyTest},
|
|
|
|
description="GNS3 server",
|
|
|
|
description="GNS3 server",
|
|
|
|
long_description=open("README.rst", "r").read(),
|
|
|
|
long_description=open("README.rst", "r").read(),
|
|
|
|