mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-04 04:31:44 +00:00
try to understand how heroku installed python [6]
This commit is contained in:
@@ -17,6 +17,7 @@ if not 'UWSGI_PYTHON_NOLIB' in os.environ:
|
||||
if not sysconfig.get_config_var('Py_ENABLE_SHARED'):
|
||||
libdir = sysconfig.get_config_var('LIBPL')
|
||||
print("LIBDIR = %s" % libdir)
|
||||
print(os.path.listdir(libdir))
|
||||
if not os.path.exists(libdir):
|
||||
libdir = sysconfig.get_config_var('srcdir')
|
||||
libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LDLIBRARY'))
|
||||
|
||||
Reference in New Issue
Block a user