Skip to content

Commit

Permalink
configure.ac: simplify reporting of Python site-packages location [ne…
Browse files Browse the repository at this point in the history
  • Loading branch information
jimklimov committed Jan 11, 2023
1 parent 9d74b62 commit 92bb169
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1811,17 +1811,15 @@ AS_IF([test "${nut_with_nut_monitor}" != no -o "${nut_with_pynut}" != no], [
NUT_REPORT([use specific Python2 interpreter], [${PYTHON2}])
NUT_REPORT([use specific Python3 interpreter], [${PYTHON3}])
NUT_REPORT_SETTING_PATH_INTEGRATIONS([Default Python interpreter site-packages],
PYTHON_SITE_PACKAGES, "${PYTHON_SITE_PACKAGES}",
[Python site-packages installation path for default Python interpreter])
NUT_REPORT_PATH_INTEGRATIONS([Default Python interpreter site-packages],
["${PYTHON_SITE_PACKAGES}"])
NUT_REPORT_SETTING_PATH_INTEGRATIONS([Specific Python2 interpreter site-packages],
PYTHON2_SITE_PACKAGES, "${PYTHON2_SITE_PACKAGES}",
[Python site-packages installation path for specific Python2 interpreter])
NUT_REPORT_PATH_INTEGRATIONS([Specific Python2 interpreter site-packages],
["${PYTHON2_SITE_PACKAGES}"])
NUT_REPORT_SETTING_PATH_INTEGRATIONS([Specific Python3 interpreter site-packages],
PYTHON3_SITE_PACKAGES, "${PYTHON3_SITE_PACKAGES}",
[Python site-packages installation path for specific Python3 interpreter])
NUT_REPORT_PATH_INTEGRATIONS([Specific Python3 interpreter site-packages],
["${PYTHON3_SITE_PACKAGES}"])
dnl # Python site-packages installation path for specific Python3 interpreter
])

dnl ----------------------------------------------------------------------
Expand Down

0 comments on commit 92bb169

Please sign in to comment.