From b9234c8e12ac08cadf8860aaa4ea38f0ee60576d Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 17 Jan 2009 18:27:28 +0000 Subject: [PATCH] Get the LZMA archive decompressor through Zero Install if missing --- setup.py | 1 + tests/HelloWorld.tar.lzma | Bin 0 -> 182 bytes tests/testunpack.py | 5 +++++ zeroinstall/zerostore/_unlzma | 2 ++ zeroinstall/zerostore/unpack.py | 9 +++++---- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 tests/HelloWorld.tar.lzma create mode 100755 zeroinstall/zerostore/_unlzma diff --git a/setup.py b/setup.py index 642e6a1..08afb80 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,7 @@ class build_with_data(build_py): "zeroinstall/0launch-gui/zero-install.glade", "zeroinstall/gtkui/desktop.glade", "zeroinstall/gtkui/cache.glade", + "zeroinstall/zerostore/_unlzma", ] def run(self): # Copy .py files and build, as usual diff --git a/tests/HelloWorld.tar.lzma b/tests/HelloWorld.tar.lzma new file mode 100644 index 0000000000000000000000000000000000000000..14bbe77b19f24f8a3a8f4947be197fc7c21dc95d GIT binary patch literal 182 zcwPav07?H{004jh|NsC0|NsC003;bnm~SiYZzHVyum-rv5fSEHKZE^9DlilWf_L35 zaa)?gObWl#g9{hs0TD_Ks6a8xzY>1^RX~Y1P*l_0V6jcrR;){#Y_!d1S`E|G&@sg) zL{tLXej%aA0NuKzQXMG;YIdUn2m&7u$?e^dLkN0k0vySMJ@*K~Lo5;eYDUEFHh(OR kE>DENz`WYj9HAL