From 70f62cd5eba3a0fc14ecd4a2009870266f773b85 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 25 Aug 2015 22:31:45 +0200 Subject: [PATCH] Allow to start server with python -m gns3server --- gns3server/__main__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gns3server/__main__.py diff --git a/gns3server/__main__.py b/gns3server/__main__.py new file mode 100644 index 00000000..7a1f1b64 --- /dev/null +++ b/gns3server/__main__.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python +# +# Copyright (C) 2015 GNS3 Technologies Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from .main import main + +main()