Commits

illume committed 32919bd

Catch NotImplementedError when pkg_resources fails.. Fixes #184

  • Participants
  • Parent commits 6adea40

Comments (0)

Files changed (1)

File lib/macosx.py

             default_icon_data = getResource('pygame_icon.tiff').read()
         except IOError:
             default_icon_data = None
+        except NotImplementedError:
+            default_icon_data = None
+
         sdlmain_osx.InstallNSApplication(default_icon_data)
     if (os.getcwd() == '/') and len(sys.argv) > 1:
         os.chdir(os.path.dirname(sys.argv[0]))