mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-03 20:21:41 +00:00
another heroku check
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user