Hi Sarah, Maciej is right; Alex did do something like that. He has Travis-CI running on RPLY: https://github.com/alex/rply/blob/master/.travis.yml
I refined the installation slightly for my summer project: https://github.com/seanfisk/rpython-stencil-language/blob/master/.travis.yml Using this recipe, you will be able to use rlib without any problems. There is also an RPLY test that tests translation. I didn't look into that too much, but maybe Alex or someone else would be able to explain that as well: https://github.com/alex/rply/blob/master/tests/test_ztranslation.py For my project as a whole, I used a modified version of my Python project template: https://github.com/seanfisk/python-project-template ... with an added Paver task for translating an executable: https://github.com/seanfisk/rpython-stencil-language/blob/master/pavement.py#L183 Hope this helps! Sincerely, -- Sean Fisk On Mon, Sep 9, 2013 at 4:32 AM, Sarah Mount <mount.sa...@gmail.com> wrote: > Thanks. I had a look through some past threads, "pip install rpython" > would solve my problem. I'm not sure what that's currently blocked on but > I'd be happy to help. > > Regards, > > Sarah > On 9 Sep 2013 08:55, "Maciej Fijalkowski" <fij...@gmail.com> wrote: > >> On Fri, Sep 6, 2013 at 11:53 AM, Sarah Mount <mount.sa...@gmail.com> >> wrote: >> > Hi there, >> > >> > I haven't had much time to work on rcsp since the Sprint, but I've been >> > tinkering with the infrastructure here and there. I have added the >> project >> > to the travis-ci.org continuous integration platform here: >> > >> > https://travis-ci.org/snim2/rcsp/ >> > >> > The thing I'm interested in is that it would be nice to use travis to >> a) run >> > automated tests, b) bulid documentation and c) use rpython to translate >> to >> > an executable, at the very least to check that the translation doesn't >> > error. >> > >> > This would be really useful for others I'm sure, and I'm happy to >> document >> > this work for pypy and maybe set up a basic pypy project skeleton for >> github >> > / travis users, which I can package separately or you might want to put >> into >> > the repo or whatever -- assuming no one has done that already. >> > >> > The sticking point I've got at the moment is that if I get travis to use >> > pypy and build the interpreter it cannot find the rpython executable. >> > Presumably if it could it probably wouldn't be able to find rlib. The >> > "right" fix for that problem is to install both rpython and its >> libraries in >> > a virtualenv with pip. If I run "pip install" from the command line pip >> > cannot find rpython, so does anyone have a recipe for this already? >> > >> > Thanks, >> > >> > Sarah >> >> Hi Sarah >> >> I believe Alex did something like that. Find him as Alex_Gaynor on IRC >> or maybe he'll show up here ;-) >> >> Cheers, >> fijal >> > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev