diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-11-22 14:04:14 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-11-22 14:04:14 -0300 |
commit | 5aa163f1519e96bdc16892d4073a86bd19df3bd3 (patch) | |
tree | cdf6f4abb32291eb6db20cbf68a3274d5d95fbe2 /src | |
parent | c4018319e891eb9df4d6b5467f420d99c5f622aa (diff) |
Fix paths
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index ba770ce..66abb12 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -118,7 +118,8 @@ main(int argc, char** argv) fs::path full_path(fs::current_path()); updateIfNeeded(); - auto pypath = full_path.string() + ":" + full_path.string() + "/lib/"; + auto pypath = full_path.string() + "/apps/:" + full_path.string() + "/lib/"; + std::cout << pypath << std::endl; #if not defined _WIN32 && not defined _WIN64 fs::path fromCore("./lib/libQtCore.so.4"); fs::path toCore("./lib/libQtCore.NOTUSED"); @@ -155,8 +156,8 @@ main(int argc, char** argv) py::exec( "import sys\n" - "sys.path = [_pwd + '/lib',\n" - " _pwd + '/apps',\n" + "sys.path = [_pwd + '/apps',\n" + " _pwd + '/lib',\n" " _pwd + '/apps/eip',\n" " _pwd]\n" "import os\n" |