* 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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user