On 13 November 2010 00:12, David Cournapeau <[email protected]> wrote:
>
> Note that the build tool itself supports the case fine: if you try the
> example from yaku repo, it should work fine (I checked it this time):
>
> https://github.com/cournape/yaku/blob/master/examples/chaining/build.py
>
To get it to install required this:
diff --git a/setup.py b/setup.py
index 062884d..deee0db 100644
--- a/setup.py
+++ b/setup.py
@@ -21,5 +21,5 @@ setup(name="yaku",
author="David Cournapeau",
author_email="[email protected]",
license="BSD",
- packages=["yaku.tools", "yaku", "yaku.compat"],
+ packages=["yaku.tools", "yaku", "yaku.compat", "yaku.conftests"],
)
The build works fine, but trying to use the generated hello.so:
[chaining/build]|4> import hello
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/Users/brett/Source/yaku/examples/chaining/build/<ipython console> in <module>()
ImportError: dlopen(./hello.so, 2): no suitable image found. Did find:
./hello.so: mach-o, but wrong architecture
I guess this is some problem with Mac universal builds. How does yaku
figure out what version (32/64 etc) to build?
Brett
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev