From 7e96801c9391c5d0ea1d013f08d162ab1b2c0eb2 Mon Sep 17 00:00:00 2001 From: Sophist Date: Mon, 19 May 2014 18:50:22 +0100 Subject: [PATCH] Add ntpath to include list for py2app in the hope (since I don;t have a Mac and cannot test this) that this fixes the error reported in (PICARD-607)[http://tickets.musicbrainz.org/browse/PICARD-607]. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 15c34c547..9faa61747 100755 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ if do_py2app: 'iconfile' : 'picard.icns', 'frameworks' : ['libiconv.2.dylib', 'libdiscid.0.dylib'], 'resources' : ['locale'], - 'includes' : ['json', 'sip', 'PyQt4'] + [e.name for e in ext_modules], + 'includes' : ['json', 'sip', 'PyQt4', 'ntpath'] + [e.name for e in ext_modules], 'excludes' : exclude_modules + py2app_exclude_modules, 'plist' : { 'CFBundleName' : 'MusicBrainz Picard', 'CFBundleGetInfoString' : 'Picard, the next generation MusicBrainz tagger (see http://musicbrainz.org/doc/MusicBrainz_Picard)',