Blame src/python/Makefile.am

Packit Service af52df
if WITH_PYTHON2
Packit Service af52df
pylibdir = $(shell python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
Packit Service af52df
Packit Service af52df
pybytesizedir     = $(pylibdir)/bytesize
Packit Service af52df
dist_pybytesize_DATA = bytesize.py __init__.py
Packit Service af52df
endif
Packit Service af52df
Packit Service af52df
if WITH_PYTHON3
Packit Service af52df
py3libdir = $(shell python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
Packit Service af52df
py3bytesizedir    = $(py3libdir)/bytesize
Packit Service af52df
nodist_py3bytesize_DATA = bytesize.py __init__.py
Packit Service af52df
endif
Packit Service af52df
Packit Service af52df
MAINTAINERCLEANFILES = Makefile.in