Re: Cython dynamic library problem

2008-09-18 Thread Tommy Grav
On Sep 18, 2008, at 12:35 PM, Rob Wolfe wrote: I would try to use `distutils` because this package is much wiser than me and knows all necessary switches for gcc. ;) That worked! Thanks Cheers Tommy -- http://mail.python.org/mailman/listinfo/python-list

Re: Cython dynamic library problem

2008-09-18 Thread Tommy Grav
On Sep 18, 2008, at 12:35 PM, Rob Wolfe wrote: I would try to use `distutils` because this package is much wiser than me and knows all necessary switches for gcc. ;) That worked! Thanks Cheers Tommy -- http://mail.python.org/mailman/listinfo/python-list

Re: Cython dynamic library problem

2008-09-18 Thread bearophileHUGS
Rob Wolfe: > # setup.py > from distutils.core import setup > from distutils.extension import Extension > from Cython.Distutils import build_ext as build_pyx > > setup(name = 'pyx_test', > ext_modules=[Extension('pyx_test', ['test_cython.pyx'])], > cmdclass = { 'build_ext': build_pyx })

Re: Cython dynamic library problem

2008-09-18 Thread Rob Wolfe
Tommy Grav <[EMAIL PROTECTED]> writes: > I am trying to learn how to use cython, and while I am following the > cython-dev > mailing list I didn't feel like this question was totally appropriate > for its audience > so I am trying here first. [...] > Does anyone know what the ImportError means a

Cython dynamic library problem

2008-09-18 Thread Tommy Grav
I am trying to learn how to use cython, and while I am following the cython-dev mailing list I didn't feel like this question was totally appropriate for its audience so I am trying here first. I am on a max os x 10.5.4 running drtgrav% python ActivePython 2.5.2.2 (ActiveState Software Inc.)