summaryrefslogtreecommitdiffstats
path: root/rules/python3-ipython-genutils.make
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2020-08-05 12:56:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-14 14:24:51 +0200
commit89ca1131647c3b20ea5a172e65eba0c29c003a5a (patch)
tree76baf6692085d62ae4c25deab054239867b6efca /rules/python3-ipython-genutils.make
parentd5c17b7e63bda3628533962122409805a2095b7c (diff)
downloadptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.gz
ptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.xz
python3: use PYTHON3_SITEPACKAGES variable
python3.make helpfully defines the PYTHON3_SITEPACKAGES variable. Use it in all places that manually construct the site-packages directory. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Message-Id: <20200805105608.32371-1-p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3-ipython-genutils.make')
-rw-r--r--rules/python3-ipython-genutils.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/python3-ipython-genutils.make b/rules/python3-ipython-genutils.make
index 90cbddec6..9a49b7502 100644
--- a/rules/python3-ipython-genutils.make
+++ b/rules/python3-ipython-genutils.make
@@ -43,7 +43,7 @@ $(STATEDIR)/python3-ipython-genutils.targetinstall:
@$(call install_fixup, python3-ipython-genutils, DESCRIPTION, missing)
@$(call install_glob, python3-ipython-genutils, 0, 0, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ipython_genutils,, *.py)
+ $(PYTHON3_SITEPACKAGES)/ipython_genutils,, *.py)
@$(call install_finish, python3-ipython-genutils)