another heroku check

This commit is contained in:
Unbit
2013-02-23 12:47:06 +01:00
parent 0ff6277f28
commit 91b2cc7570
+1
View File
@@ -28,6 +28,7 @@ if not 'UWSGI_PYTHON_NOLIB' in os.environ:
# libdir does not exists, try to get it from the venv
if not os.path.exists(libdir):
libdir = '%s/lib/python%s/config' % (sys.prefix, get_python_version())
print(os.listdir(libdir))
libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LDLIBRARY'))
if not os.path.exists(libpath):
libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LIBRARY'))