- 直接import記述していないパッケージが取り込まれない場合がある。
- 動作するときのsys.modulesと動作しない時のsys.modulesをよく見比べましょう。
- pngだろうがなんだろうが、「tiff2icns」でicnsファイルは作れる。
- OS-X内蔵Pythonはアプリ内に複製できない(py2appの仕様)ので、別途Pythonをインストールする必要がある。 (portsサンプル多いが、brewでもできたー。)
for PyQt or PySide
#!/usr/bin/env python | |
# delxattr.py recursively removes all extended attributes (xattr) from | |
# all files and directories under the current or given directory. | |
# In the latest Mac OS X, you can do the same thing with "xattr -rc". | |
# See a help of xattr with "xattr -h". | |
# Author: Takeshi NISHIMATSU | |
# Gist: https://gist.github.com/t-nissie/8491009 | |
# Example1$ delxattr.py | |
# Example2$ delxattr.py ../foo | |
# Example3$ delxattr.py ~/foo |