> Question is , can I make it so much portable to put it in my project directory and just call import pyzmq and it will work?
yes, bdist_wheel or bdist_egg already work this way. Even bdist_dumb should work, I think. > I have version 4.0.1 compiled,isn't there some kinda options to add like -static and compile static version of zmq inside pyzmq. Then I suppose I could just put module in same dir and call it (or not?). It is not static, it is still a dynamic library, just with a relative rpath so it's all shipped together. On Tue, Nov 19, 2013 at 2:56 PM, Nikola <[email protected]> wrote: > I have version 4.0.1 compiled,isn't there some kinda options to add like > -static and compile static version of zmq inside pyzmq. > Then I suppose I could just put module in same dir and call it (or not?). > > > On Tue, Nov 19, 2013 at 11:44 PM, Nikola <[email protected]> wrote: > >> First tnx for helping out. >> Question is , can I make it so much portable to put it in my project >> directory and just call import pyzmq and it will work? >> >> >> On Tue, Nov 19, 2013 at 7:05 PM, MinRK <[email protected]> wrote: >> >>> Add the flag `--zmq=bundled`, and pyzmq will compile libzmq as a Python >>> extension, and ship it. So for a fully portable pyzmq: >>> >>> python setupegg.py bdist_wheel --zmq=bundled >>> >>> should do it. >>> >>> >>> On Tue, Nov 19, 2013 at 1:08 AM, Nikola <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> >>>> Is there option to make static build so that pyzmq doesn't need >>>> external zmq lib. >>>> >>>> Any pointers on the options. >>>> >>>> I see that you can specify harcoded rpath but I would like to put >>>> everything in one package and ship it together with app. >>>> >>>> Tnx for help in advance, >>>> N. >>>> >>>> _______________________________________________ >>>> zeromq-dev mailing list >>>> [email protected] >>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>> >>>> >>> >>> _______________________________________________ >>> zeromq-dev mailing list >>> [email protected] >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >>> >> >> >> -- >> God is Real, unless declared Integer. >> J. Allan Toogood, FORTRAN programmer >> > > > > -- > God is Real, unless declared Integer. > J. Allan Toogood, FORTRAN programmer > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
