diff options
author | 2016-03-13 13:51:03 +0200 | |
---|---|---|
committer | 2016-03-13 13:55:20 +0200 | |
commit | 2e249a00eae2e2a1a25c115480b146ebafe0b54b (patch) | |
tree | 3c7e58f387f497096cc8e706f594a2c483b057a5 /scripts/external_libs | |
parent | aa4706e1e3af49eef118416560d29fad4f0f0e42 (diff) |
prebuild for ZMQ
with README.txt
Diffstat (limited to 'scripts/external_libs')
-rw-r--r-- | scripts/external_libs/prebuild/zmq/README.txt | 41 | ||||
-rw-r--r-- | scripts/external_libs/prebuild/zmq/pyzmq-14.5.0.tar.gz | bin | 0 -> 997150 bytes | |||
-rw-r--r-- | scripts/external_libs/prebuild/zmq/zeromq-4.0.2.tar.gz | bin | 0 -> 2168988 bytes |
3 files changed, 41 insertions, 0 deletions
diff --git a/scripts/external_libs/prebuild/zmq/README.txt b/scripts/external_libs/prebuild/zmq/README.txt new file mode 100644 index 00000000..0e4f284c --- /dev/null +++ b/scripts/external_libs/prebuild/zmq/README.txt @@ -0,0 +1,41 @@ +How to build PyZMQ for your system +================================== + +I'll desrcibe a harder task - how to build cross platform PyZMQ. +Building for current system will be much easier. + +for the example I will build 32 bit Python 3 PyZMQ on a 64 bit machine. + +1. build ZMQ library + a. Unzip zeromq-4.0.2.tar.gz + b. create a dir called zermoq-4.0.2-bin + c set CC, CXX, CXXLD, CFLAGS, CXXFLAGS and LDSHARED correctly if you need another toolchain + d. configure: ./configure --prefix=zeromq-4.0.2-bin + e. make -j64 + f. make install + +now we have ZMQ binaries built to zeromq-4.0.2-bin + + +2. build PyZMQ + + a. unzip pyzmq-14.5.0 + b. create a dir called pyzmq-14.5.0-bin + c. setenv LD_LIBRARY_PATH zeromq-4.0.2-bin/lib + c. *FOR CROSS COMPILE* we need a setup.cfg file skip to D + for non cross compile - you can simply run: + python setup.py configure --zmq=zeromq-4.0.2-bin + python setup.py build --prefix=pyzmq-14.5.0-bin + + + d. *CROSS COMPILE* + create a setup.cfg accroding to setup.cfg.template + with include_libs, and directory_libs + make sure they include the Python include/lib directories + as well as ZMQ + for example, for Python 3 i had to download the Python 3 development package + + +The final output: +prebuild/zmq/pyzmq-14.5.0-bin/lib/python3.4/site-packages/zmq + diff --git a/scripts/external_libs/prebuild/zmq/pyzmq-14.5.0.tar.gz b/scripts/external_libs/prebuild/zmq/pyzmq-14.5.0.tar.gz Binary files differnew file mode 100644 index 00000000..6b3a8c22 --- /dev/null +++ b/scripts/external_libs/prebuild/zmq/pyzmq-14.5.0.tar.gz diff --git a/scripts/external_libs/prebuild/zmq/zeromq-4.0.2.tar.gz b/scripts/external_libs/prebuild/zmq/zeromq-4.0.2.tar.gz Binary files differnew file mode 100644 index 00000000..6ecb0255 --- /dev/null +++ b/scripts/external_libs/prebuild/zmq/zeromq-4.0.2.tar.gz |