[openbiblio-dev] Exposing as RDF...

Peter Murray-Rust pm286 at cam.ac.uk
Tue Jun 29 14:56:30 UTC 2010


On Tue, Jun 29, 2010 at 2:58 PM, William Waites <william.waites at okfn.org>wrote:

> On 10-06-29 02:50, Graham Higgins wrote:
> >
> > change openbiblio/pip-requirements.txt:
> >
> > --e hg+http://bitbucket.org/ww/ordf#egg=ordf
> > +-e hg+http://knowledgeforge.net/pdw/ordf#egg=ordf
> >
>
> I've just fixed this in mercurial...
>

Thanks - I agree we should always checkout or pull rather than trying to
edit.

>
> >
> > There's another issue ahead, an exception-throwing import from rdflib.
> > After pip has installed the dependencies:
> >
> > change pyenv-openbiblio/src/ordf/ordf/namespace.py:
> >
> > -    from rdflib.namespace import Namespace, RDF, RDFS, XSD
> > +    from rdflib.namespace import Namespace, RDF, RDFS, _XSD_NS as XSD
>
> I would suggest installing ORDF and then installing OpenBiblio,
>    ~/src/ordf% pip install -r pip-requirements-fuxi.txt
>    ~/src/openbiblio% pip install -r pip-requirements.txt
>
> *** how do I install ORDF? I have tried easy_install but it's not on that.
***


> The reason being that there are different requirements for different
> features. I'd also like PMR to be a bit of a guinea pig for the supposed
> compile problems with rdflib 2.4.2 on windows...
>

*** compile? is this a gcc job? ***

>
> In any event this change is unnecessary if you're working with rdflib
> 2.4.2. Working with 3.0.0 the change should also be unnecessary,
> with 2.5.x it might be but that was never released (forgive the
> minutae).
>

I think it will be valuable to capture all of this for further newcomers.

P.


> Cheers,
> -w
>
> --
> William Waites           <william.waites at okfn.org>
> Mob: +44 789 798 9965    Open Knowledge Foundation
> Fax: +44 131 464 4948                Edinburgh, UK
>
> RDF Indexing, Clustering and Inferencing in Python
>                http://ordf.org/
>



-- 
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openbiblio-dev/attachments/20100629/3f15fd7b/attachment.html>


More information about the openbiblio-dev mailing list