From 640d973ca7d91c352c18dc0bd869216640bd0fa4 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 30 Dec 2013 17:19:13 +0100 Subject: [PATCH 1/4] Add gevent to the required dependencies. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 027493e..3a6f35c 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def run_tests(self): license="BSD", url="https://github.com/abourget/gevent-socketio", download_url="https://github.com/abourget/gevent-socketio", - install_requires=("gevent-websocket",), + install_requires=("gevent", "gevent-websocket",), setup_requires=('versiontools >= 1.7'), cmdclass = {'test': PyTest}, tests_require=['pytest', 'mock'], From b5cb9a52dce4e719828ae112325ece9c6d714ef2 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 30 Dec 2013 17:21:10 +0100 Subject: [PATCH 2/4] Fix warnings: Title underline too short. --- docs/source/handler.rst | 2 +- docs/source/sgunicorn.rst | 2 +- docs/source/transports.rst | 2 +- docs/source/virtsocket.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/handler.rst b/docs/source/handler.rst index 601ede1..35cdfb1 100644 --- a/docs/source/handler.rst +++ b/docs/source/handler.rst @@ -1,7 +1,7 @@ .. _handler_module: :mod:`socketio.handler` -====================== +======================= This is a lower-level transports handler. It is responsible for calling your WSGI application. diff --git a/docs/source/sgunicorn.rst b/docs/source/sgunicorn.rst index 1386712..7d43319 100644 --- a/docs/source/sgunicorn.rst +++ b/docs/source/sgunicorn.rst @@ -1,7 +1,7 @@ .. _gunicorn_module: :mod:`socketio.sgunicorn` -====================== +========================= .. automodule:: socketio.sgunicorn :members: diff --git a/docs/source/transports.rst b/docs/source/transports.rst index 4445ebf..97e22e2 100644 --- a/docs/source/transports.rst +++ b/docs/source/transports.rst @@ -1,7 +1,7 @@ .. _transports_module: :mod:`socketio.transports` -====================== +========================== This is largely an internal module, responsible for translating the different fallback mechanisms to one abstracted Socket, dealing with diff --git a/docs/source/virtsocket.rst b/docs/source/virtsocket.rst index 122996e..889bb7f 100644 --- a/docs/source/virtsocket.rst +++ b/docs/source/virtsocket.rst @@ -1,7 +1,7 @@ .. _virtsocket_module: :mod:`socketio.virtsocket` -====================== +========================== .. automodule:: socketio.virtsocket :members: From b167bd3e13554f55b2a84625ad438da1dd8f3f26 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Mon, 30 Dec 2013 17:22:30 +0100 Subject: [PATCH 3/4] Point to the base directory for the local socketio module. --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index c764c7c..5301eb0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,7 +17,7 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. here = os.path.dirname(__file__) -socketio_path = os.path.abspath(os.path.join(here, '../../socketio')) +socketio_path = os.path.abspath(os.path.join(here, '../..')) sys.path.insert(0, socketio_path) # -- General configuration ----------------------------------------------------- From dbef02bb04562975a104a2213b65e6550cead445 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 2 Jan 2014 13:44:55 +0100 Subject: [PATCH 4/4] Also distribute CHANGELOG, docs, and tests. --- MANIFEST.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index c9691f4..e98faf5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,10 @@ include LICENSE include AUTHORS +include CHANGELOG include MANIFEST.in include README.rst recursive-include socketio *py exclude socketio/.ropeproject/* exclude socketio/sample_protocol_for_doc.py +recursive-include docs * +recursive-include tests *