Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/doc/including.rst
blob: f087ae5165d0f6a2f743a4ad25c30bd291e5108f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
How to Include the Question API in your Activity
================================================

The quizdata module, supplied by the Question Support API requires two other
libraries (currently) in order to function:
    - PEAK-Rules
    - PyParsing

Both of these libraries need to be available for the quizdata module to be
imported. Follow the standard method for including libraries in your activity
to include those libraries, as well as the quizdata module, as a library. In
the question-support-api project repository the only needed part to include in
your activity is the quizdata directory, which should be placed on the python
search path (preferably with other libraries required by your activity, rather
than in the activity's own source area).