From f64d7df593601f0aa27049ea006c7d08ec9bbc49 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 28 Jul 2008 03:21:27 +0200 Subject: [PATCH] Fixed wrong check of do_py2app, which prevented menu and icon files to be installed on linux. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index eafeb60a4..c192df7aa 100755 --- a/setup.py +++ b/setup.py @@ -507,7 +507,7 @@ if do_py2app: args['cmdclass'] = { 'py2app' : BuildAPP } # FIXME: this should check for the actual command ('install' vs. 'bdist_nsis', 'py2app', ...), not installed libraries -if py2exe is None and do_py2app is None: +if py2exe is None and do_py2app is False: args['data_files'].append(('share/icons', ('picard-16.png', 'picard-32.png'))) args['data_files'].append(('share/applications', ('picard.desktop',)))