Issue 223 in mpmath: py2app mpmath error

4 views
Skip to first unread message

mpm...@googlecode.com

unread,
Mar 29, 2012, 1:37:49 AM3/29/12
to mpmath...@googlegroups.com
Status: New
Owner: ----

New issue 223 by nsalomo...@gmail.com: py2app mpmath error
http://code.google.com/p/mpmath/issues/detail?id=223

What steps will reproduce the problem?
1. Create a stand-alone app calling mpmath using py2app (mpmath 0.17 and
python 2.7)
2. When functions calling mpmath are used in the built app, receive the
error:

"File "mpmath/functions/__init__.pyc", line 1, in <module>
ImportError: cannot import name functions".

If you then look in the py2app frozen executable (show package contents)
and extract site-packages.zip, mpmath/functions, only rszeta.pyc,
functions.pyc and __init__.pyc are there.

mpmath works fine when run from the source code script calling it, not sure
why py2app would specifically exclude these files. Any ideas?

Reply all
Reply to author
Forward
0 new messages