[AstroPy] package requirements for pyregion

Jae-Joon Lee lee.j.joon at gmail.com
Sun Jun 24 12:10:03 EDT 2012


This is a known issue.

 https://github.com/leejjoon/pyregion/issues/10

And as far as I can see this is a bug in setuptools, which seems to be
fixed recently.

 https://bitbucket.org/tarek/distribute/issue/195/cython-build_ext-support-broken-when-using

A workaround has been implemented in the dev. branch of pyregion.

 https://github.com/leejjoon/pyregion/commit/ff785c85464d4ef912931037beca8c47c7674e53

And yes, pyregion should build okay if you don't have Pyrex or Cython.
The problem only happens when you have Cython but not pyrex.

Regards,

-JJ


On Sat, Jun 23, 2012 at 2:00 PM, Tom Aldcroft
<aldcroft at head.cfa.harvard.edu> wrote:
> On Fri, Jun 22, 2012 at 4:03 PM, Vicky Scowcroft
> <vs at obs.carnegiescience.edu> wrote:
>> Hi,
>> I'm following the setup instructions at
>> http://python4astronomers.github.com/installation/python_install.html
>>
>> Under "MacOS or root linux install" you have:
>>
>> sudo pip install --upgrade pyregion
>>
>>
>> This doesn't work without the pyrex package,
>> so
>>
>> sudo pip install --upgrade pyrex
>>
>> should be added before.
>>
>> Thanks
>> Vicky
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>>
>
> Hi Vicky,
>
> Thanks for the feedback.  This was already reported and being tracked
> [1], but we'll get on it.  As mentioned in the issue, the dependency
> can be met with Cython and that is probably a better option at this
> point.   Also, it looks like pyregion is supposed to build without
> Pyrex or Cython [2], but this doesn't seem to work and may be a
> pyregion issue.
>
> - Tom
>
> [1] https://github.com/python4astronomers/python4astronomers/issues/6
> [2] https://github.com/leejjoon/pyregion/commit/ff785c85464d4ef912931037beca8c47c7674e53
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy



More information about the AstroPy mailing list