From 89ca1131647c3b20ea5a172e65eba0c29c003a5a Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Wed, 5 Aug 2020 12:56:08 +0200 Subject: 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 Message-Id: <20200805105608.32371-1-p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich --- rules/python3-traitlets.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules/python3-traitlets.make') diff --git a/rules/python3-traitlets.make b/rules/python3-traitlets.make index 54e917dc7..712624950 100644 --- a/rules/python3-traitlets.make +++ b/rules/python3-traitlets.make @@ -42,7 +42,7 @@ $(STATEDIR)/python3-traitlets.targetinstall: @$(call install_fixup, python3-traitlets, DESCRIPTION, missing) @$(call install_glob, python3-traitlets, 0, 0, -, \ - /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/traitlets,, *.py) + $(PYTHON3_SITEPACKAGES)/traitlets,, *.py) @$(call install_finish, python3-traitlets) -- cgit v1.2.3