Mercurial > hg > vampy
comparison vampy-main.cpp @ 55:968258fba5d6
* PYLIB -> VAMPY_PYLIB
author | cannam |
---|---|
date | Fri, 09 Oct 2009 14:22:44 +0000 |
parents | f0592002c61d |
children | b2c4c752c3bc |
comparison
equal
deleted
inserted
replaced
54:f0592002c61d | 55:968258fba5d6 |
---|---|
245 } | 245 } |
246 cerr << "Short version: " << shortver << endl; | 246 cerr << "Short version: " << shortver << endl; |
247 // this is useful to find out where the loaded library might be loaded from | 247 // this is useful to find out where the loaded library might be loaded from |
248 cerr << "Python exec prefix: " << Py_GetExecPrefix() << endl; | 248 cerr << "Python exec prefix: " << Py_GetExecPrefix() << endl; |
249 | 249 |
250 char *pylib = getenv("PYLIB"); | 250 char *pylib = getenv("VAMPY_PYLIB"); |
251 if (pylib && *pylib) { | 251 if (pylib && *pylib) { |
252 cerr << "Trying to preload Python from specified location " << pylib | 252 cerr << "Trying to preload Python from specified location " << pylib |
253 << "..." << endl; | 253 << "..." << endl; |
254 return tryPreload(string(pylib)); | 254 return tryPreload(string(pylib)); |
255 } | 255 } |