tfixes for make_packages - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9874afac8b89b53d58189a852d49689e68f9255b DIR parent 91ea2d8752bd61905ed0acdfccebcf1daadf4e92 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 21 Feb 2015 12:49:35 +0100 fixes for make_packages Diffstat: M contrib/make_packages | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/make_packages b/contrib/make_packages t@@ -27,6 +27,8 @@ if __name__ == '__main__': 'dns', 'six', ] + # don't use /usr/lib + sys.path = ['/usr/local/lib/python2.7/dist-packages'] for module in deps: f, pathname, descr = imp.find_module(module) target = 'packages/' + module + descr[0] t@@ -39,6 +41,11 @@ if __name__ == '__main__': print command os.system(command) + # fix google/__init__.py needed by pyinstaller + n = 'packages/google/__init__.py' + if not os.path.exists(n): + os.system("echo blah>%s"%n) + # os.system("python mki18n.py") os.system("pyrcc4 icons.qrc -o gui/qt/icons_rc.py") os.system("python setup.py sdist --format=zip,gztar")