mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-12 13:41:48 +00:00
6 lines
220 B
Python
6 lines
220 B
Python
from distutils import sysconfig
|
|
import os.path as op
|
|
import sys
|
|
v = sysconfig.get_config_vars()
|
|
fpaths = [op.join(v[pv], v['LDLIBRARY']) for pv in ('LIBDIR', 'LIBPL')]
|
|
sys.stdout.write(list(filter(op.exists, fpaths))[0]) |