From 80d6b181ddffcff3bfe5f92d76060b4f1f303293 Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 25 Apr 2014 13:32:56 -0600 Subject: [PATCH] Set version dependency for PyZMQ. Fixes #5. --- gns3server/server.py | 7 ++++--- setup.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gns3server/server.py b/gns3server/server.py index e74eb132..961dbdea 100644 --- a/gns3server/server.py +++ b/gns3server/server.py @@ -142,9 +142,10 @@ class Server(object): debug=True) # FIXME: debug mode! try: - print("Starting server on {}:{} (Tornado {})".format(self._host, - self._port, - tornado.version)) + print("Starting server on {}:{} (Tornado v{}, PyZMQ v{})".format(self._host, + self._port, + tornado.version, + zmq.__version__)) kwargs = {"address": self._host} if parse_version(tornado.version) >= parse_version("3.1"): kwargs["max_buffer_size"] = 524288000 # 500 MB file upload limit diff --git a/setup.py b/setup.py index 4e4b9e41..d6301683 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ setup( long_description=open("README.rst", "r").read(), install_requires=[ "tornado >= 3.1", - "pyzmq", + "pyzmq >= 14.0.0", "jsonschema" ], entry_points={