Re: [Numpy-discussion] py3k execfile('setup.py')

2010-08-20 Thread Ralf Gommers
On Tue, Aug 17, 2010 at 2:07 PM, Fernando Perez wrote: > On Sat, Aug 14, 2010 at 6:11 AM, Ralf Gommers > wrote: > > Installing into a local virtualenv (with either of the methods that work) > > looks good. Into /Library/Frameworks/..., nose refuses to run any tests, > due > > to the files being e

Re: [Numpy-discussion] py3k execfile('setup.py')

2010-08-16 Thread Fernando Perez
On Sat, Aug 14, 2010 at 6:11 AM, Ralf Gommers wrote: > Installing into a local virtualenv (with either of the methods that work) > looks good. Into /Library/Frameworks/..., nose refuses to run any tests, due > to the files being executable. But I think that's normal. Changing > permissions to 644

Re: [Numpy-discussion] py3k execfile('setup.py')

2010-08-14 Thread Ralf Gommers
On Fri, Jul 30, 2010 at 12:04 AM, Pauli Virtanen wrote: > Thu, 29 Jul 2010 23:39:19 +0800, Ralf Gommers wrote: > > The execfile builtin has disappeared in python 3.x, so I'm trying to > > find another solution for the use of it in setupegg.py. So far I've > > tried > > I'd do something like this

Re: [Numpy-discussion] py3k execfile('setup.py')

2010-07-29 Thread Pauli Virtanen
Thu, 29 Jul 2010 23:39:19 +0800, Ralf Gommers wrote: > The execfile builtin has disappeared in python 3.x, so I'm trying to > find another solution for the use of it in setupegg.py. So far I've > tried I'd do something like this in "setup.py": ... + if os.environ.get('USE_SETUPTOOLS'): + i

[Numpy-discussion] py3k execfile('setup.py')

2010-07-29 Thread Ralf Gommers
Hi, The execfile builtin has disappeared in python 3.x, so I'm trying to find another solution for the use of it in setupegg.py. So far I've tried if sys.version_info[0] >= 3: # 3.x doesn't have execfile anymore, so we define our own # The code below is syntactically valid 2.x, but 2.x th