On 20/11/12 11:07, Rutger wrote:
> Hey,
>
> The error i mentioned earlier has to do with the slashes (always a pleasure
> ;)), changing the setup.py from:
>
> *ext = Extension('mipp/xrit/_convert', ['mipp/xrit/convert/wrap_convert.c',
> 'mipp/xrit/convert/10216.c'],
> extra_compile_args = ['-std=c99', '-O9'])*
>
> to
>
> *ext = Extension('mipp.xrit._convert', ['mipp/xrit/convert/wrap_convert.c',
> 'mipp/xrit/convert/10216.c'],
> extra_compile_args = ['-std=c99', '-O9'])*
>
> This worked for me, it build and installed with no errors.
Hi Rutger,
Nice catch!
It actually reminds me of a similar issue you raised a while ago, where
I had to change the setup.py in mpop due to a slash error in windows.
I had to switch then to os.path.join to be sure it would be os
independent...
Best regards,
Martin