summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGunnar Aastrand Grimnes <gromgull@gmail.com>2017-01-29 20:24:17 +0100
committerGunnar Aastrand Grimnes <gromgull@gmail.com>2017-01-29 20:24:17 +0100
commitc01eede224059c13be3a649ea7ea0c0edbdcd16a (patch)
treed24c94f58aedfabc7eb18c4ba5bc8563207e837d /docs
parent59bea6bb5ca0fdf14738f6ac8c810c3ab9933604 (diff)
downloadrdflib-c01eede224059c13be3a649ea7ea0c0edbdcd16a.tar.gz
more cleanup
pip instead of easy_install.
Diffstat (limited to 'docs')
-rw-r--r--docs/developers.rst3
-rw-r--r--docs/gettingstarted.rst14
2 files changed, 8 insertions, 9 deletions
diff --git a/docs/developers.rst b/docs/developers.rst
index 1cefac44..072507da 100644
--- a/docs/developers.rst
+++ b/docs/developers.rst
@@ -27,7 +27,7 @@ Run tests with `nose <https://nose.readthedocs.org/en/latest/>`_:
.. code-block: bash
- $ easy_install nose
+ $ pip install nose
$ python run_tests.py
$ python run_tests.py --attr known_issue # override attr in setup.cfg to run only tests marked with "known_issue"
$ python run_tests.py --attr \!known_issue # runs all tests (including "slow" and "non_core") except those with known issues
@@ -103,4 +103,3 @@ Set new dev version number in the above locations, i.e. next release `-dev`: ``2
Update the topic of #rdflib on freenode irc::
/msg ChanServ topic #rdflib https://github.com/RDFLib/rdflib | latest stable version: 4.2.0 | docs: http://rdflib.readthedocs.org
-
diff --git a/docs/gettingstarted.rst b/docs/gettingstarted.rst
index d597b2d1..41d54cc1 100644
--- a/docs/gettingstarted.rst
+++ b/docs/gettingstarted.rst
@@ -7,15 +7,15 @@ Getting started with RDFLib
Installation
============
-RDFLib is open source and is maintained in a
-`GitHub <http://github.com/RDFLib/rdflib/>`_ repository. RDFLib releases, current and previous
+RDFLib is open source and is maintained in a
+`GitHub <http://github.com/RDFLib/rdflib/>`_ repository. RDFLib releases, current and previous
are listed on `PyPi <http://pypi.python.org/pypi/rdflib/>`_
-The best way to install RDFLib is to use ``easy_install`` or ``pip``:
+The best way to install RDFLib is to use ``pip`` (sudo as required):
.. code-block :: bash
- $ easy_install rdflib
+ $ pip install rdflib
Support is available through the rdflib-dev group:
@@ -42,7 +42,7 @@ are best thought of as a set of 3-item triples:
[
(subject, predicate, object),
(subject1, predicate1, object1),
- ...
+ ...
(subjectN, predicateN, objectN)
]
@@ -97,7 +97,7 @@ A more extensive example:
# Bind a few prefix, namespace pairs for more readable output
g.bind("dc", DC)
g.bind("foaf", FOAF)
-
+
print( g.serialize(format='n3') )
-
+
Many more :doc:`examples <apidocs/examples>` can be found in the :file:`examples` folder in the source distribution.