• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-Apr-2015-

READMEH A D07-Apr-20151.2 KiB4629

libconcord.pyH A D07-Apr-201523.9 KiB1,003700

setup.pyH A D07-Apr-2015912 286

README

1Compilation
2====================
3
4The Python bindings do not require compilation.
5
6Pre-Requisites
7====================
8
9The Python bindings make use of the ctypes library. ctypes is included as part
10of Python 2.5. It is also available as an optional module for older versions
11of Python. See the following URL for pointers:
12
13http://sourceforge.net/projects/ctypes/
14
15Installation
16====================
17
18The Python bindings make use of distutils for installation purposes. distutils
19is a standard part of Python. Simply run the following command:
20
21python setup.py install
22
23You will probably need to run this command as root, since installation
24requires writing files to system directories.
25
26Direct Usage
27====================
28
29Since the Python bindings do not require compilation, they may be used
30directly without installation. To do this, simply add the directory containing
31the bindings to your PYTHONPATH. For example:
32
33export PYTHONPATH=/path/to/libconcord/bindings/python
34
35Debugging
36====================
37
38If you set the environment variable LIBCONCORD_PY_TRACE to string "1", then
39libconcord.py will trace all function calls. This may prove helpful when
40debugging client applications.
41
42For example, in bash:
43
44LIBCONCORD_PY_TRACE=1 ./congruity /path/to/Connectivity.EZHex
45
46