summaryrefslogtreecommitdiffstats
path: root/src/console/zmq/backend/cython/socket.py
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-08-24 09:28:43 +0300
committerDan Klein <danklei@cisco.com>2015-08-24 09:28:43 +0300
commit20eb7d362f9bce1951bd61ad3f78cf8f4267d1d5 (patch)
treeb2c3fe1c721d5f6898b4bb8e81f7c68502e313e9 /src/console/zmq/backend/cython/socket.py
parent49f6b00b58c3ec734218fcd69259771a42c157bd (diff)
parent651a7d779551e193bd9dbadbe8b2a02bdab231b4 (diff)
Merge branch 'master' into dan_stateless
Diffstat (limited to 'src/console/zmq/backend/cython/socket.py')
-rwxr-xr-xsrc/console/zmq/backend/cython/socket.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/console/zmq/backend/cython/socket.py b/src/console/zmq/backend/cython/socket.py
new file mode 100755
index 00000000..faef8bee
--- /dev/null
+++ b/src/console/zmq/backend/cython/socket.py
@@ -0,0 +1,7 @@
+def __bootstrap__():
+ global __bootstrap__, __loader__, __file__
+ import sys, pkg_resources, imp
+ __file__ = pkg_resources.resource_filename(__name__,'socket.so')
+ __loader__ = None; del __bootstrap__, __loader__
+ imp.load_dynamic(__name__,__file__)
+__bootstrap__()