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:
parent
724e3051fd
commit
80d6b181dd
@ -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
|
||||||
|
2
setup.py
2
setup.py
@ -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={
|
||||||
|
Loading…
Reference in New Issue
Block a user