HACKING: Add further notes on testing python scripts.

This commit is contained in:
Jon Lund Steffensen
2012-02-04 00:42:29 +01:00
parent ed873130a1
commit 64b6a0b2d6
+12 -3
View File
@@ -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
-----