[gimp/gimp-2-8] Installer: set PYTHONPATH environment variable on 32-bit installs, too
- From: Jernej Simončič <jernejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Installer: set PYTHONPATH environment variable on 32-bit installs, too
- Date: Mon, 11 Nov 2013 18:10:08 +0000 (UTC)
commit de4fceea6c4d06cf837479cdc02deb4a576e8dc0
Author: Jernej Simončič <jernej|s-cccp eternallybored org>
Date: Mon Nov 11 18:59:19 2013 +0100
Installer: set PYTHONPATH environment variable on 32-bit installs, too
build/windows/installer/gimp3264.iss | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index a21174f..66567db 100644
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -537,7 +537,7 @@ begin
Env := Env + ';${gimp_installation_dir}\32\bin' + #10;
if IsComponentSelected('gimp32on64\py') then
- Env := Env + 'PYTHONPATH=${gimp_installation_dir}\32\lib\gimp\2.0\python' + #10;
//only needed on 64bit GIMP
+ Env := Env + 'PYTHONPATH=${gimp_installation_dir}\32\lib\gimp\2.0\python' + #10;
end else
begin
@@ -545,7 +545,10 @@ begin
Env := Env + #10;
end;
-
+
+ if IsComponentSelected('py') then
+ Env := Env + 'PYTHONPATH=${gimp_installation_dir}\lib\gimp\2.0\python' + #10;
+
DebugMsg('PrepareGimpPath','Appending ' + Env);
if not SaveStringToUTF8File(DefaultEnv,Env,True) then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]