summaryrefslogtreecommitdiff
path: root/readme-python.txt
blob: 62c9fed1c8ab0c5c647cfe703bb091b5ad63dcb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
To build the Python code:
 - install the Python development package
   on Debian this is called e.g. "python2.7-dev" or "python3.2-dev"

 - install the swig package
   on Debian this is valled "swig"

 - run:
	make cleware_python
   this will produce: _cleware.so and cleware.py.
   These two files must be installed in your Python system.

 - look at example.py to see how it works (e.g. execute python example.py)
   make sure that the user you run your scripts with has enough rights to access the USB devices!