Hi,
I want to create a windows executable based on python scripts, and using the
pybel openbabel interface, using py2exe to budle it all up. My application
works fine as a script run from the command line, but when I package it up with
py2exe, it fails to run, with the following message written to the log
Traceback (most recent call last):
File "pepgui.py", line 14, in <module>
import pybel
File "pybel.pyc", line 37, in <module>
File "pybel.pyc", line 33, in _formatstodict
ValueError: need more than 1 value to unpack
My application is in a scrip file: pepgui.py, and I have written a short
setup.py file to bundle it as an .exe:
from distutils.core import setup
import py2exe
opts = {"py2exe": {"dll_excludes": ["MSVCR80.dll","MSVCP80.dll"]}}
setup(options=opts, windows=['pepgui.py'])
Thanks,
Fergal Duffy
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss