File: README

package info (click to toggle)
concordance 1.5-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,268 kB
  • sloc: cpp: 7,182; sh: 4,837; ansic: 882; python: 728; perl: 171; makefile: 129; xml: 34
file content (45 lines) | stat: -rw-r--r-- 1,273 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Compilation
====================

The Python bindings do not require compilation.

Pre-Requisites
====================

The Python bindings make use of the ctypes library. ctypes is included as part
of Python 2.5. It is also available as an optional module for older versions
of Python. See the following URL for pointers:

http://sourceforge.net/projects/ctypes/

Installation
====================

The Python bindings make use of distutils for installation purposes. distutils
is a standard part of Python. Simply run the following command:

python setup.py install

You will probably need to run this command as root, since installation
requires writing files to system directories.

Direct Usage
====================

Since the Python bindings do not require compilation, they may be used
directly without installation. To do this, simply add the directory containing
the bindings to your PYTHONPATH. For example:

export PYTHONPATH=/path/to/libconcord/bindings/python

Debugging
====================

If you set the environment variable LIBCONCORD_PY_TRACE to string "1", then
libconcord.py will trace all function calls. This may prove helpful when
debugging client applications.

For example, in bash:

LIBCONCORD_PY_TRACE=1 ./congruity /path/to/Connectivity.EZHex