jwallen / PyDAS

A Python wrapper for the DASSL, DASPK, and DASKR differential algebraic system solvers
47 stars 8 forks source link

python build error #1

Closed ycwang closed 13 years ago

ycwang commented 14 years ago

when doing build_ext --inplace, it gives " Traceback (most recent call last): File "setup.py", line 11, in Cython.Compiler.Options.annotate = True AttributeError: 'module' object has no attribute 'Options' " with the latest cython 0.13 and python 2.6 on ubuntu 10.04.

it works fine after i comment out the statement.

jwallen commented 13 years ago

Fixed bug in setup.py build script for generating annotated C files.

In order to set the annotate option, you need to first import the Cython.Compiler.Options module. However, I was only importing the Cython.Compiler package, which won't work. (I seem to recall it working before, though; perhaps a change within Cython? Or maybe just luck?)

Closed by bd393ef8742aaf3629ada98fd5f6b0796ae845ba.