Skip to content

Commit

Permalink
removed vendorized rdflib-jsonld now that a package is available on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Jul 12, 2014
1 parent c4c26c4 commit 6fc1a64
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 1,036 deletions.
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ authors, included in accordance with their respective licenses:
Higgins, BSD
* `patch <https://code.google.com/p/python-patch/>`_ by Anatoly
Techtonik, MIT
* `Grit XSLT stylesheets <http://code.google.com/p/oort/wiki/Grit>`_,
`RDL service UI
* `Grit XSLT stylesheets <http://code.google.com/p/oort/wiki/Grit>`_
and `RDL service UI
<https://github.com/rinfo/rdl/tree/master/packages/java/rinfo-service/src/main/webapp/ui>`_
and `rdflib-jsonlid <https://github.com/RDFLib/rdflib-jsonld>`_ by
Niklas Lindström, BSD
by Niklas Lindström, BSD
* `httpheader <http://deron.meranda.us/python/httpheader/>`_ by Deron
Meranda, LGPL
* `normalize.css <http://git.io/normalize>`_, MIT
Expand Down
5 changes: 0 additions & 5 deletions ferenda/documentrepository.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@
from lxml.builder import ElementMaker
from rdflib import Graph, Literal, Namespace, URIRef, RDF
from rdflib.namespace import FOAF
from rdflib.plugin import register, Parser, Serializer
import bs4
import lxml.html
import pkg_resources
import requests
import requests.exceptions
register('json-ld', Parser, 'ferenda.thirdparty.rdflib_jsonld.parser',
'JsonLDParser')
register('json-ld', Serializer, 'ferenda.thirdparty.rdflib_jsonld.serializer',
'JsonLDSerializer')

from six import text_type as str
from six import binary_type as bytes
Expand Down
3 changes: 0 additions & 3 deletions ferenda/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
# 3rd party
import requests
import requests.exceptions
from rdflib.plugin import register, Parser, Serializer
register('json-ld', Parser, 'ferenda.thirdparty.rdflib_jsonld.parser', 'JsonLDParser')
register('json-ld', Serializer, 'ferenda.thirdparty.rdflib_jsonld.serializer', 'JsonLDSerializer')

# my modules
from ferenda import DocumentRepository # needed for a doctest
Expand Down
5 changes: 0 additions & 5 deletions ferenda/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
from lxml.builder import ElementMaker
from rdflib import URIRef, Literal, BNode, Graph, RDF, RDFS
from rdflib.namespace import FOAF, SKOS
from rdflib.plugin import register, Parser, Serializer
register('json-ld', Parser, 'ferenda.thirdparty.rdflib_jsonld.parser',
'JsonLDParser')
register('json-ld', Serializer, 'ferenda.thirdparty.rdflib_jsonld.serializer',
'JsonLDSerializer')
import pkg_resources

from ferenda import LayeredConfig, DocumentRepository
Expand Down
6 changes: 0 additions & 6 deletions ferenda/thirdparty/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,3 @@ reason or another, couldn't be directly fetched by setup.py from pypi.
* httpheader by Deron Meranda
(http://deron.meranda.us/python/httpheader/). Included since the
package isn't on pypi or is python3 compatible. LGPL License.

* rdflib_jsonld by Niklas Lindström
(https://github.com/RDFLib/rdflib-jsonld/). Included since the
package isn't installable from pypi. Patched to use a single source
tree for py2/3 compatibility (no 2to3 translation step needed). BSD
License.
12 changes: 0 additions & 12 deletions ferenda/thirdparty/rdflib_jsonld/__init__.py

This file was deleted.

264 changes: 0 additions & 264 deletions ferenda/thirdparty/rdflib_jsonld/context.py

This file was deleted.

15 changes: 0 additions & 15 deletions ferenda/thirdparty/rdflib_jsonld/keys.py

This file was deleted.

Loading

0 comments on commit 6fc1a64

Please sign in to comment.