Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Cython dependency for pyregion #6

Open
taldcroft opened this issue May 31, 2012 · 0 comments
Open

Possible Cython dependency for pyregion #6

taldcroft opened this issue May 31, 2012 · 0 comments

Comments

@taldcroft
Copy link
Member

From Shane Bussman and my response:

Thanks for the info.  It appears that pyregion has added a new dependency 
on Pyrex or Cython.  I'll put this in the Python for Astronomers issue tracker 
so we won't forget to include this update.  BTW you might want to check into 
using Cython instead of Pyrex.  Generally speaking Cython is the preferred 
way to handle .pyx files since it is being very actively developed now.  Also, 
it looks like pyregion is supposed to build without Pyrex or Cython [1], but I 
guess that didn't work for you..

- Tom

[1] https://github.com/leejjoon/pyregion/commit/ff785c85464d4ef912931037beca8c47c7674e53

On Thu, May 31, 2012 at 2:30 PM, Shane Bussmann <rbussmann@cfa.harvard.edu> wrote:
> Hi Tom,
>
> I just wanted to let you know that I am upgrading my python packages
> (Enthought Python) using the installation instructions on the practical
> python for astronomers guide:
> http://python4astronomers.github.com/installation/python_install.html and I
> encountered an error when upgrading pyregion:
>
> error: unknown file type '.pyx' (from 'src/_region_filter.pyx')
>
> I googled a bit and found that installing pyrex first, and then installing
> pyregion fixes the error.  I don't know why this is the case, but it seems
> to work.
>
> -Shane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant