All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m9s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m22s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m4s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m34s
CI / Packaging test (push) Successful in 0s
Aside from PYTHONPATH, ldlibpath.mk runs jw-pkg.py for determining other paths, too, which is often unneeded and can impact performance. Split the PYTHONPATH detection into a dedicated py-path.mk, and include it from ldlibpath.mk, so it can be used instead where needed.
Signed-off-by: Jan Lindemann <jan@janware.com>
6 lines
239 B
Makefile
6 lines
239 B
Makefile
# -- PYTHONPATH
|
|
PYTHONPATH_ENV := $(PYTHONPATH)
|
|
ifeq ($(origin JW_PKG_PYTHON_PATH),undefined)
|
|
JW_PKG_PYTHON_PATH := $(call proj_query, pythonpath $(PROJECT))
|
|
endif
|
|
export PYTHONPATH := $(JW_PKG_PYTHON_PATH)
|