Skip to content

Commit

Permalink
Because we determine the python path relative to the cadabra2.so modu…
Browse files Browse the repository at this point in the history
…le, we no longer need to special-case AppImages.
  • Loading branch information
Kasper Peeters committed Sep 29, 2024
1 parent d455b4c commit 5b93ea8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client_server/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,7 @@ void Server::init()
// Make the C++ CatchOutput class visible on the Python side.

auto python_path = cadabra::install_prefix_of_module();
char *appdir = getenv("APPDIR");
if(appdir)
python_path = std::string(appdir)+"/"+python_path;


std::string stdOutErr =
"import sys\n"
"sys.path.append(r'"+python_path+"')\n"
Expand Down

0 comments on commit 5b93ea8

Please sign in to comment.