Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-20 Thread Peter Cock
On Fri, Nov 16, 2012 at 10:08 AM, Christoph Gohlke wrote: > On 11/16/2012 1:28 AM, Peter Cock wrote: >> On Thu, Nov 15, 2012 at 6:15 PM, Christoph Gohlke wrote: >>> >>> Naturally the file would be named msvc10compiler.py but the name may be >>> kept for compatibility reasons. AFAIK msvc10 does no

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-16 Thread Christoph Gohlke
On 11/16/2012 1:28 AM, Peter Cock wrote: > On Thu, Nov 15, 2012 at 6:15 PM, Christoph Gohlke wrote: >> >> Naturally the file would be named msvc10compiler.py but the name may be >> kept for compatibility reasons. AFAIK msvc10 does not use manifests any >> longer for the CRT dependencies and all th

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-16 Thread Peter Cock
On Thu, Nov 15, 2012 at 6:15 PM, Christoph Gohlke wrote: > > Naturally the file would be named msvc10compiler.py but the name may be > kept for compatibility reasons. AFAIK msvc10 does not use manifests any > longer for the CRT dependencies and all the code handling msvc9 > manifests could be remo

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-15 Thread Christoph Gohlke
On 11/15/2012 6:24 AM, Peter Cock wrote: > On Wed, Nov 14, 2012 at 7:35 PM, Christoph Gohlke wrote: >>> ... >>> RuntimeError: Broken toolchain: cannot link a simple C program >>> >>> It appears a similar issue was raised before: >>> http://mail.scipy.org/pipermail/numpy-discussion/2012-June/062866

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-15 Thread Peter Cock
On Wed, Nov 14, 2012 at 7:35 PM, Christoph Gohlke wrote: >> ... >> RuntimeError: Broken toolchain: cannot link a simple C program >> >> It appears a similar issue was raised before: >> http://mail.scipy.org/pipermail/numpy-discussion/2012-June/062866.html >> >> Any tips? >> >> Peter > > Try changi

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-14 Thread Christoph Gohlke
On 11/14/2012 10:10 AM, Peter Cock wrote: > Changing title to reflect the fact this thread is now about using > the Microsoft compiler rather than mingw32 as in the old thread. > > On Sat, Nov 10, 2012 at 11:04 PM, Peter Cock > wrote: >> On Sat, Nov 10, 2012 at 5:47 PM, Ralf Gommers wrote: >>> >

[Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-14 Thread Peter Cock
Changing title to reflect the fact this thread is now about using the Microsoft compiler rather than mingw32 as in the old thread. On Sat, Nov 10, 2012 at 11:04 PM, Peter Cock wrote: > On Sat, Nov 10, 2012 at 5:47 PM, Ralf Gommers wrote: >> >> >> >> On Tue, Nov 6, 2012 at 6:49 PM, Peter Cock >>

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-12 Thread Peter Cock
On Tue, Nov 13, 2012 at 12:36 AM, Peter Cock wrote: > > I've not yet run the numpy tests yet, but I think this means > my github branches are worth merging: > > https://github.com/peterjc/numpy/commits/msvc10 > Hi Ralf, Pull request filed, assuming this gets applied to the master could you also

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-12 Thread Peter Cock
On Mon, Nov 12, 2012 at 9:20 PM, Ralf Gommers wrote: >> ... >> Found executable C:\cygwin\usr\bin\gcc.exe >> g++ -mno-cygwin _configtest.o -lmsvcr100 -o _configtest.exe >> Could not locate executable g++ >> Executable g++ does not exist > > > A C++ compiler shouldn't be needed for numpy, so it sho

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-12 Thread Ralf Gommers
On Mon, Nov 12, 2012 at 1:31 PM, Peter Cock wrote: > On Sun, Nov 11, 2012 at 11:20 PM, Peter Cock > wrote: > > On Sun, Nov 11, 2012 at 9:05 PM, Ralf Gommers > wrote: > >> > >> Those changes look correct, a PR would be great. > >> > > > > I'll do that later this week - but feel free to do it your

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-12 Thread Peter Cock
On Sun, Nov 11, 2012 at 11:20 PM, Peter Cock wrote: > On Sun, Nov 11, 2012 at 9:05 PM, Ralf Gommers wrote: >> >> Those changes look correct, a PR would be great. >> > > I'll do that later this week - but feel free to do it yourself immediately > if more convenient. > Hi again Ralf, OK, new bran

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-11 Thread Peter Cock
On Sun, Nov 11, 2012 at 9:05 PM, Ralf Gommers wrote: > > Those changes look correct, a PR would be great. > I'll do that later this week - but feel free to do it yourself immediately if more convenient. > Fixing the next error also seems straightforward; around line 465 of > mingw32ccompiler a c

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-11 Thread Ralf Gommers
On Sun, Nov 11, 2012 at 12:43 AM, Peter Cock wrote: > On Sat, Nov 10, 2012 at 11:24 PM, Peter Cock > wrote: > > > > I think part of the problem could be in numpy/distutils/misc_util.py > > where there is no code to detect MSCV 10, > > > > def msvc_runtime_library(): > > "Return name of MSVC r

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-10 Thread Peter Cock
On Sat, Nov 10, 2012 at 11:24 PM, Peter Cock wrote: > > I think part of the problem could be in numpy/distutils/misc_util.py > where there is no code to detect MSCV 10, > > def msvc_runtime_library(): > "Return name of MSVC runtime library if Python was built with MSVC >= 7" > msc_pos = sy

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-10 Thread Peter Cock
I meant to click on "save" not "send", anyway: On Sat, Nov 10, 2012 at 11:13 PM, Peter Cock wrote: >> >> Either MSVC or MinGW 3.4.5. For the latter see >> https://github.com/certik/numpy-vendor >> >> Ralf > > I was trying with mingw32 via cygwin with gcc 2.4.4, Typo, gcc 3.4.4 > which also fail

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-10 Thread Peter Cock
On Sat, Nov 10, 2012 at 5:47 PM, Ralf Gommers wrote: > On Tue, Nov 6, 2012 at 6:49 PM, Peter Cock wrote: >> >> Dear all, >> >> Since the NumPy 1.7.0b2 release didn't include a Windows >> (32 bit) installer for Python 3.3, I am considering compiling it >> myself for local testing. What compiler is

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-10 Thread Peter Cock
On Sat, Nov 10, 2012 at 5:47 PM, Ralf Gommers wrote: > > > > On Tue, Nov 6, 2012 at 6:49 PM, Peter Cock > wrote: >> >> Dear all, >> >> Since the NumPy 1.7.0b2 release didn't include a Windows >> (32 bit) installer for Python 3.3, I am considering compiling it >> myself for local testing. What com

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-10 Thread Ralf Gommers
On Tue, Nov 6, 2012 at 6:49 PM, Peter Cock wrote: > Dear all, > > Since the NumPy 1.7.0b2 release didn't include a Windows > (32 bit) installer for Python 3.3, I am considering compiling it > myself for local testing. What compiler is recommended? > Either MSVC or MinGW 3.4.5. For the latter see

[Numpy-discussion] Compiling NumPy on Windows for Python 3.3

2012-11-06 Thread Peter Cock
Dear all, Since the NumPy 1.7.0b2 release didn't include a Windows (32 bit) installer for Python 3.3, I am considering compiling it myself for local testing. What compiler is recommended? Thanks, Peter ___ NumPy-Discussion mailing list NumPy-Discussion