Skip to content

Commit 4616c6c

Browse files
author
feger
committed
Add packages for running tests in development; Add documentation.
1 parent 39839f4 commit 4616c6c

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,21 @@ for result in sparql.query().bindings:
138138

139139
The source distribution contains:
140140

141-
* `SPARQLWrapper`: the Python library. You should copy the directory somewhere into your `PYTHONPATH`. Alternatively, you can also run the distutils scripts:
142-
143-
python setup.py install
141+
* `SPARQLWrapper`: the Python library. You should copy the directory somewhere into your `PYTHONPATH`.
142+
Alternatively, you can also run the distutils scripts:
143+
```
144+
python setup.py install
145+
```
144146

145147
* `test`: some unit and integrations tests
148+
149+
In order to run the tests some packages have to be installed before.
150+
So please install the packages in `requirements.development.txt` in addition:
151+
```bash
152+
pip install -r requirements.development.txt
153+
```
154+
155+
146156

147157
* `script`: some scripts to run the library against some SPARQL endpoints.
148158

requirements.development.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nose>=1.3.7
2+
2to3>=1.0
3+
setuptools>=3.7.1

0 commit comments

Comments
 (0)