mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-12 13:41:48 +00:00
13 lines
279 B
Python
13 lines
279 B
Python
from distutils import sysconfig
|
|
import os.path
|
|
import sys
|
|
import glob
|
|
pj = os.path.join
|
|
|
|
pyver = sysconfig.get_config_var('VERSION')
|
|
getvar = sysconfig.get_config_var
|
|
|
|
libname = "python" + pyver
|
|
|
|
lib = glob.glob(pj(getvar('LIBPL'), "*" + libname + ".*"))[0]
|
|
sys.stdout.write(lib) |