From 64b6a0b2d6fade8382a90da118521d14ac53ff63 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sat, 4 Feb 2012 00:42:29 +0100 Subject: HACKING: Add further notes on testing python scripts. --- HACKING | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/HACKING b/HACKING index a127485..86b58bc 100644 --- a/HACKING +++ b/HACKING @@ -4,15 +4,24 @@ Build from bzr branch $ ./configure Use `./configure --help' for options. Use `--prefix' to make an install in -your home directory. This is necessary to test python scripts. +your home directory. This is necessary to test python scripts. Example: + + $ ./configure --prefix=$HOME/redshift/root + +Now, build the files: $ make -The main redshift program can be run at this point. To test python -scripts run: +The main redshift program can be run at this point. To install to the +prefix directory run: $ make install +You can now run the python scripts. Example: + + $ PYTHONHOME=$HOME/redshift/root/lib/python2.7/site-packages \ + $HOME/redshift/root/bin/gtk-redshift + Notes ----- -- cgit v1.2.3-70-g09d2