summaryrefslogtreecommitdiff
path: root/readme-python.txt
diff options
context:
space:
mode:
Diffstat (limited to 'readme-python.txt')
-rw-r--r--readme-python.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/readme-python.txt b/readme-python.txt
new file mode 100644
index 0000000..62c9fed
--- /dev/null
+++ b/readme-python.txt
@@ -0,0 +1,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!