From c22676f45c176139927680dfc263628ac9dd7e74 Mon Sep 17 00:00:00 2001 From: John Beard Date: Sun, 3 Jun 2018 00:18:25 +0100 Subject: [PATCH] Add note to README.md --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f6df754b..95df9b67 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ datasheet. KiPlot lets you do this. +As a side effect of providing a scriptable plot driver for KiCad, KiPlot also +allows functional testing of KiCad plot functions, which would otherwise be +somewhat unwieldy to write. + ## Developing Set up a virtualenv: @@ -30,4 +34,23 @@ Install with `pip -e`: ``` cd path/to/kiplot pip install -e . -``` \ No newline at end of file +``` + +This doesn't include the `pcbnew` Python package - that is assumed to +be accessible to the program. You might need to add it to the `PYTHONPATH`. + +You might also need to set `LD_LIBRARY_PATH` (you need to be able to load +`libkicad_3dsg.so`). + +For example, if you installed in `~/local/kicad`, you might want: + +``` +export PYTHONPATH=~/local/kicad/lib/python2.7/site-packages +export LD_LIBRARY_PATH=~/local/kicad/lib64 +``` + +# TODO list + +There are some things that still need work: + +* DRC checking - that can't be done over the Python interface yet. \ No newline at end of file