[winswitch] lz4 version detection

Antoine Martin antoine at nagafix.co.uk
Mon Oct 26 04:00:26 GMT 2015


On 26/10/15 07:50, Antony Lee wrote:
> 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.
Thanks, applied:
http://xpra.org/trac/changeset/11010

Cheers
Antoine



More information about the shifter-users mailing list