[winswitch] lz4 version detection

Antony Lee antony.lee at berkeley.edu
Mon Oct 26 00:50:37 GMT 2015


Improvement on #960:
The installed version of lz4 can be obtained without the "ugly hack" in
xpra/net/compression.py by "import pkg_resources;
pkg_resources.get_distribution("lz4").version" which returns "0.7.0" even
when lz4 is (correctly) installed to
/usr/lib/python2.7/site-packages/lz4.so.

Antony



More information about the shifter-users mailing list