pyInstallerの使用方法

wxPythonとMatplotlibで作ったスクリプトを、py2exeでバイナリ化しようとしたら久しぶりなので設定を忘れてしまい、どうにもこうにもできなかったので、あきらめてpyInstallerを使うことにした。

参照:http://retrofocus28.blogspot.jp/2013/10/pyinstallerexe.html

「--onefile」オプションを付けたときのエラー

struct.error: argument for 's' must be a string

これを解決したい