Re: [Cython] Dash in the executable's filename

2015-04-24 Thread Robert Bradshaw
There are other differences when complaining in embed mode, such as generating a main method. I view the c file as an intermediate that depends on the compilation mode--if you want both generate two .c files. On Fri, Apr 24, 2015 at 1:45 AM, Stefan Behnel wrote: > Robert Bradshaw schrieb am 24.04

Re: [Cython] Dash in the executable's filename

2015-04-24 Thread Stefan Behnel
Robert Bradshaw schrieb am 24.04.2015 um 10:31: > On Thu, Apr 23, 2015 at 2:22 AM, Anton D. Kachalov wrote: >> I've found that executable script with dashes in the filename lead to >> produce wrong cythonized source: >> >>$ touch my-great-script.py >>$ cython my-great-script.py --embed >>

Re: [Cython] Dash in the executable's filename

2015-04-24 Thread Robert Bradshaw
Good point: https://github.com/cython/cython/commit/e0fd2b3c8265ea40084ee9981d8601bc6e11b97e On Thu, Apr 23, 2015 at 2:22 AM, Anton D. Kachalov wrote: > Hello. > > I've found that executable script with dashes in the filename lead to > produce wrong cythonized source: > >$ touch my-great-scr