[openbiblio-dev] Exposing as RDF...
Peter Murray-Rust
pm286 at cam.ac.uk
Tue Jun 29 07:37:13 UTC 2010
Hi Graham - thanks for this and the work you have done. I have edited
requirements.txt Here's my output for step 4 - I still need some guidance...
C:\Users\pm286\workspace\openbiblio> pip install -E pyenv-openbiblio
pip-require
ments.txt
Creating new virtualenv environment in pyenv-openbiblio
New python executable in pyenv-openbiblio\Scripts\python.exe
Installing setuptools...done.........
Downloading/unpacking pip-requirements.txt
Could not find any downloads that satisfy the requirement
pip-requirements.txt
No distributions at all found for pip-requirements.txt
Storing complete log in C:\Users\pm286\AppData\Roaming\pip\pip.log
=========
I am not sure I am running in the correct directory. Here's the contents of
openbiblio:
C:\Users\pm286\workspace\openbiblio>dir
Volume in drive C is OS
Volume Serial Number is 04CF-A81A
Directory of C:\Users\pm286\workspace\openbiblio
29/06/2010 08:32 <DIR> .
29/06/2010 08:32 <DIR> ..
29/06/2010 08:29 <DIR> .hg
29/06/2010 08:29 72 .hgignore
29/06/2010 08:29 9,716 ez_setup.py
29/06/2010 08:29 368 make_docs.sh
29/06/2010 08:29 125 MANIFEST.in
29/06/2010 08:29 <DIR> n3
29/06/2010 08:29 <DIR> openbiblio
29/06/2010 08:32 576 pip-requirements.txt
29/06/2010 08:32 <DIR> pyenv-openbiblio
29/06/2010 08:29 1,005 README.txt
29/06/2010 08:29 495 RESOURCES.txt
29/06/2010 08:29 599 setup.cfg
29/06/2010 08:29 1,780 setup.py
29/06/2010 08:29 509 test.ini
10 File(s) 15,245 bytes
6 Dir(s) 316,646,359,040 bytes free
C:\Users\pm286\workspace\openbiblio>cd pyenv-openbiblio
C:\Users\pm286\workspace\openbiblio\pyenv-openbiblio>dir
Volume in drive C is OS
Volume Serial Number is 04CF-A81A
Directory of C:\Users\pm286\workspace\openbiblio\pyenv-openbiblio
29/06/2010 08:32 <DIR> .
29/06/2010 08:32 <DIR> ..
29/06/2010 08:32 <DIR> build
29/06/2010 08:32 <DIR> Lib
29/06/2010 08:32 <DIR> Scripts
0 File(s) 0 bytes
5 Dir(s) 316,646,293,504 bytes free
On Tue, Jun 29, 2010 at 7:50 AM, Graham Higgins <gjh at bel-epa.com> wrote:
> Hi Peter,
>
>
> On 28 Jun 2010, at 08:58, Peter Murray-Rust wrote:
>
> I think I did 4 OK but it was somewhat blind and in 5 it is complaining
>> that it cannot find ordf :
>>
>> pkg_resources.DistributionNotFound: ordf
>>
>
>
>
> Step 4 failed. I was able to replicate the problem.
>
> The pip-requirements file in the current repository is using an obsolete
> URL for the ORDF package and so fails to install it. In the interim, here's
> a workaround:
>
> change openbiblio/pip-requirements.txt:
>
> --e hg+http://bitbucket.org/ww/ordf#egg=ordf
> +-e hg+http://knowledgeforge.net/pdw/ordf#egg=ordf
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
> --
> Cheers,
>
> Graham
>
> http://www.linkedin.com/in/ghiggins
>
>
>
>
>
>
>
--
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/8194d3e9/attachment.html>
More information about the openbiblio-dev
mailing list