Add an automatice relative testpath file for runing from the git checkouts.
authorBrian Dolbec <dolsen@gentoo.org>
Sat, 22 Jun 2013 01:34:24 +0000 (18:34 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Sat, 22 Jun 2013 01:34:24 +0000 (18:34 -0700)
testpath [new file with mode: 0644]

diff --git a/testpath b/testpath
new file mode 100644 (file)
index 0000000..ed569d0
--- /dev/null
+++ b/testpath
@@ -0,0 +1,17 @@
+# Sample file demonstrating an easy method for running the
+# git sources without the need for installing.
+
+
+# Edit the paths below and save the file as "testpath"
+# the file will be ignored by git.
+
+# Example usage:
+
+# $ cd dev/git/esearch
+# $ source ./testpath
+# $ esearch some-package
+
+
+export PATH="$(dirname $BASH_SOURCE[0])../pyGPG/bin:$(dirname $BASH_SOURCE[0])/bin:${PATH}"
+
+export PYTHONPATH="$(dirname $BASH_SOURCE[0])../pyGPG/:$(dirname $BASH_SOURCE[0])/:${PYTHONPATH}"