Re: [Cython] Cythonize silently ignores nonexistent files

2015-01-08 Thread Robert Bradshaw
On Sat, Dec 20, 2014 at 1:01 AM, Stefan Behnel wrote: > Kevin Norris schrieb am 20.12.2014 um 01:47: >> Is this behavior intentional? >> >> >>> from Cython.Build import cythonize >> >>> cythonize('/this/file/doesnt/exist.pyx') >> [] > > Yes, it's intentional. The path you pass is actua

Re: [Cython] Cythonize silently ignores nonexistent files

2014-12-20 Thread Stefan Behnel
Kevin Norris schrieb am 20.12.2014 um 01:47: > Is this behavior intentional? > > >>> from Cython.Build import cythonize > >>> cythonize('/this/file/doesnt/exist.pyx') > [] Yes, it's intentional. The path you pass is actually a glob expression, so it may match any number of files. >

[Cython] Cythonize silently ignores nonexistent files

2014-12-20 Thread Kevin Norris
Is this behavior intentional? >>> from Cython.Build import cythonize >>> cythonize('/this/file/doesnt/exist.pyx') [] It would be *really* nice if Cython would raise an exception (or something) in this case. I just spent 20 minutes trying to puzzle out Cython/Setuptools compatibility