On 3/5/2014 1:37 PM, Martin Zibricky wrote:
On Tuesday 25 of February 2014 22:08:30 Michael Hipp wrote:
Any suggestions on why the symbol PY2 is not showing up in six?

I'm on Win 7 x64 running Python 2.7.6 x32 with PyInstaller loaded from
github master this afternoon.
It could be because of six module that is bundled with pyinstaller. 'six' is
not included with the 2.1 tarball but it is in git.

Try to manually remove ./PyInstaller/lib/six.py

Removing that file does indeed fix the problem.

So what is the real solution? Could 'six' be listed as a dependency rather than bundled?

Per Harmut Goebel, I have attached a minimal sample that shows the error.

Michael

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.
from configobj import ConfigObj

INI_FILE = """\
[server]
name = host
"""

def main():
    with open('sample.ini', 'w') as f:
        f.write(INI_FILE)
    cfg = ConfigObj('sample.ini')

if __name__ == '__main__':
    main()

Reply via email to