another heroku check [4]

This commit is contained in:
Unbit
2013-02-23 12:59:13 +01:00
parent e96c43970d
commit fd62e2ebb7
+1
View File
@@ -33,6 +33,7 @@ if not 'UWSGI_PYTHON_NOLIB' in os.environ:
if not os.path.exists(libdir) and version.endswith('m'):
version = version[:-1]
libdir = '%s/lib/python%s/config' % (sys.prefix, version)
print(os.listdir('%s/lib/python%s' % (sys.prefix, version)))
libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LDLIBRARY'))
if not os.path.exists(libpath):
libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LIBRARY'))