[pitivi] bin: Properly handle coptimizations python path when running in three



commit 9ad7e8cc2c2bfef24ce378fc6922414d1c75e31c
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Wed Jul 24 15:06:19 2013 -0400

    bin: Properly handle coptimizations python path when running in three

 bin/pitivi.in |    2 ++
 configure.ac  |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/bin/pitivi.in b/bin/pitivi.in
index 52ffd93..9795294 100644
--- a/bin/pitivi.in
+++ b/bin/pitivi.in
@@ -55,6 +55,8 @@ def _add_pitivi_path():
     root = None
     if _in_devel():
         root = os.path.split(dir)[0]
+        sys.path.insert(0, os.path.join(root, "pitivi", "coptimizations",
+                    ".libs"))
         localedir = os.path.join(os.path.split(dir)[0], 'locale')
     else:
         root = os.path.join(LIBDIR, 'pitivi', 'python')
diff --git a/configure.ac b/configure.ac
index 7c5a472..af2f573 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
 AM_GLIB_GNU_GETTEXT
 IT_PROG_INTLTOOL([0.35.0])
 
-CONFIGURED_PYTHONPATH=$PYTHONPATH:pitivi/coptimizations/.libs
+CONFIGURED_PYTHONPATH=$PYTHONPATH
 AC_SUBST(CONFIGURED_PYTHONPATH)
 
 CONFIGURED_LD_LIBRARY_PATH=$LD_LIBRARY_PATH


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]