nilesh-iiita / pysam

Automatically exported from code.google.com/p/pysam
0 stars 0 forks source link

Can't compile with older cython? #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile revisions post 33cef4bdf2ea
2. Fails because 'from cpython cimport PyString_FromStringAndSize etc fails
3. Used to be from "python_string cimport ..."

cython version is 0.12.1 (this is a ubuntu 10.10).

Is there a way to resolve this?

try: ... except ImportError obviously does not work.

Original issue reported on code.google.com by finkerna...@mathematik.uni-marburg.de on 15 Feb 2011 at 11:35

GoogleCodeExporter commented 9 years ago
Hi,

thanks, I don't know out of hand how to resolve this.

It seems that python_string is deprecated as of cython 0.13

Can you upgrade?

Best wishes,
Andreas

Original comment by andreas....@gmail.com on 4 Jun 2011 at 9:16