1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-12 17:10:55 +00:00

Set version dependency for PyZMQ. Fixes #5.

This commit is contained in:
grossmj 2014-04-25 13:32:56 -06:00
parent 724e3051fd
commit 80d6b181dd
2 changed files with 5 additions and 4 deletions

View File

@ -142,9 +142,10 @@ class Server(object):
debug=True) # FIXME: debug mode! debug=True) # FIXME: debug mode!
try: try:
print("Starting server on {}:{} (Tornado {})".format(self._host, print("Starting server on {}:{} (Tornado v{}, PyZMQ v{})".format(self._host,
self._port, self._port,
tornado.version)) tornado.version,
zmq.__version__))
kwargs = {"address": self._host} kwargs = {"address": self._host}
if parse_version(tornado.version) >= parse_version("3.1"): if parse_version(tornado.version) >= parse_version("3.1"):
kwargs["max_buffer_size"] = 524288000 # 500 MB file upload limit kwargs["max_buffer_size"] = 524288000 # 500 MB file upload limit

View File

@ -46,7 +46,7 @@ setup(
long_description=open("README.rst", "r").read(), long_description=open("README.rst", "r").read(),
install_requires=[ install_requires=[
"tornado >= 3.1", "tornado >= 3.1",
"pyzmq", "pyzmq >= 14.0.0",
"jsonschema" "jsonschema"
], ],
entry_points={ entry_points={