[SCM] morituri/master: * bin/rip.in: Add our PYTHONLIBDIR to sys.path if needed. Should make this work when doing ./configure; sudo checkinstall make install on e.g. Ubuntu.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:15 UTC 2014
The following commit has been merged in the master branch:
commit f432ae8e47a54cfc13c31f0160747978bcbbe95c
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Mon Mar 15 14:23:45 2010 +0000
* bin/rip.in:
Add our PYTHONLIBDIR to sys.path if needed. Should make this
work when doing ./configure; sudo checkinstall make install
on e.g. Ubuntu.
diff --git a/ChangeLog b/ChangeLog
index 78981a8..8ec55ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
+ * bin/rip.in:
+ Add our PYTHONLIBDIR to sys.path if needed. Should make this
+ work when doing ./configure; sudo checkinstall make install
+ on e.g. Ubuntu.
+
+2010-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
+
* configure.ac:
* bin/rip.in (added):
* bin/rip (deleted):
diff --git a/bin/rip.in b/bin/rip.in
index e00d555..1ce5eb9 100755
--- a/bin/rip.in
+++ b/bin/rip.in
@@ -4,6 +4,13 @@
import sys
+# /usr/local/bin typically is on PATH, making it possible to find this file.
+# However, /usr/local/lib/pythonX.Y/*-packages usually isn't, so let's
+# make sure here it is.
+
+if not "@PYTHONLIBDIR@" in sys.path:
+ sys.path.append("@PYTHONLIBDIR@")
+
# first try to import morituri
try:
import morituri
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list