[Numpy-discussion] Import error in builds of 7726

David Cournapeau cournape at gmail.com
Thu Nov 12 08:16:34 EST 2009


On Thu, Nov 12, 2009 at 6:57 AM, Chris <fonnesbeck at gmail.com> wrote:

>
> Yeah, here is my build script -- it removes the build directory entirely

Ah, that's not enough. You need to clean the working tree as well. git
has the clean option for that, you can also use a quick script to do
this with parsing svn st output.

>
>
> #!/bin/sh
> export MACOSX_DEPLOYMENT_TARGET=10.6
> export CFLAGS="-arch i386 -arch x86_64"
> export FFLAGS="-arch i386 -arch x86_64"
> export LDFLAGS="-Wall -undefined dynamic_lookup -bundle
> -arch i386 -arch x86_64"
> rm -rf build
> python setupegg.py config_fc --fcompiler gfortran config -
> L/Developer/src/freetype-2.3.5 -L/Developer/src/libpng-1.2.24
> build bdist_egg

I have used the exact same options, and has no issue.

David



More information about the NumPy-Discussion mailing list