[Cython] Test/example for cpdef enum

Ian Bell ian.h.bell at gmail.com
Tue Aug 5 01:19:53 CEST 2014


On Tue, Aug 5, 2014 at 1:16 AM, Matthew Brett <matthew.brett at gmail.com>
wrote:

> Hi,
>
> On Mon, Aug 4, 2014 at 4:11 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
> >
> >
> >
> > On Sat, Aug 2, 2014 at 7:42 PM, Matthew Brett <matthew.brett at gmail.com>
> > wrote:
> >>
> >> On Sat, Aug 02, 2014 at 10:08 AM, Robert Bradshaw <robertwb at gmail.com>
> >> wrote:
> >>
> >> > from: Robert Bradshaw <robertwb at gmail.com>
> >> > date: Sat, Aug 02 10:08 AM -07:00 2014
> >> > to: Core developer mailing list of the Cython compiler
> >> > <cython-devel at python.org>
> >> > reply-to: Core developer mailing list of the Cython compiler
> >> > <cython-devel at python.org>
> >> > subject: Re: [Cython] Test/example for cpdef enum
> >> >
> >> > On Sat, Aug 2, 2014 at 3:56 AM, Ian Bell <ian.h.bell at gmail.com>
> wrote:
> >> >> Are there any tests/docs/examples showing how to use the cpdef enum?
> >> >> This
> >> >> is a feature I have been looking for for a long time and I am hoping
> to
> >> >> use
> >> >> it very soon in my own project.
> >> >
> >> >
> https://github.com/cython/cython/blob/master/tests/run/cpdef_enums.pyx
> >> >
> https://github.com/cython/cython/blob/master/tests/run/cpdef_enums.pxd
> >> >
> >> >> I have a windows box that I can run the alpha test suite on with the
> >> >> full
> >> >> complement of python versions.  Let me know if there is interest and
> I
> >> >> can
> >> >> run the tests.  Alternatively, if you are still doing a buildbot (the
> >> >> link
> >> >> at https://github.com/cython/cython/wiki/HackerGuide#buildbot is
> >> >> broken) ,
> >> >> we could configure a nightly slave to run the tests.
> >> >
> >> > That would be nice; windows is woefully undertested for Cython.
> >>
> >> Another big 'that would be nice' from me.
> >>
> >> We (the berkeley / nipy team) have a buildbot set up you could hook into
> >> if you need one.  The configuration is all on github at
> >> https://github.com/nipy/nibotmi , and you are welcome to access to the
> >> build master to play with configuration if you'd like.
> >>
> > Can you set me up a nightly build (once per 24 hours) and we can then
> > iterate on getting things functional on my box to the level that is
> needed.
> > I use anaconda for instance which might cause issues - I briefly saw you
> use
> > virtualenv.
>
> Yes, the classes I wrote to make making a build factor a little more
> automated use virtualenvs; if you don't want to use those classes, you
> can use the bare-metal buildbot build steps with Ananconda on the
> slave.  But - do you need Anaconda to set up a Cython build test?
> Maybe you can use virtualenv with the Anaconda Python?
>
> So far as I can tell, anaconda and virtualenv don't play too well
together.  Which is too bad, because I recall having some issues with
something (buildbot?) not running happily in an anaconda env


> Cheers,
>
> Matthew
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> https://mail.python.org/mailman/listinfo/cython-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20140805/eb447f5e/attachment-0001.html>


More information about the cython-devel mailing list