Re: [Numpy-discussion] a question about freeze on numpy 1.7.0

2013-03-06 Thread Gelin Yan
On Mon, Feb 25, 2013 at 4:09 PM, Bradley M. Froehle wrote: > I submitted a bug report (and patch) to cx_freeze. You can follow up with > them at http://sourceforge.net/p/cx-freeze/bugs/36/. > > -Brad > > > On Mon, Feb 25, 2013 at 12:06 AM, Gelin Yan wrote: > >> &

Re: [Numpy-discussion] a question about freeze on numpy 1.7.0

2013-02-25 Thread Gelin Yan
/__init__.py", line > 147, in > from core import * > AttributeError: 'module' object has no attribute 'sys' > > This is because, somehow, `'sys' in numpy.core.__all__` returns True in > the cx_Freeze context but False in the regular Python co

Re: [Numpy-discussion] a question about freeze on numpy 1.7.0

2013-02-24 Thread Gelin Yan
On Mon, Feb 25, 2013 at 9:16 AM, Ondřej Čertík wrote: > Hi Gelin, > > On Sun, Feb 24, 2013 at 12:08 AM, Gelin Yan wrote: > > Hi All > > > > When I used numpy 1.7.0 with cx_freeze 4.3.1 on windows, I quickly > > found out even a simple "import

[Numpy-discussion] a question about freeze on numpy 1.7.0

2013-02-24 Thread Gelin Yan
s I noticed /numpy/core/__init__.py has a line 'del sys' at the bottom. After I commented this line, and repacked the whole program, It ran fine. I also noticed this 'del sys' didn't exist on numpy 1.6.2 I am curious why this 'del sys' should