mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make, scripts: Now excplicitly calling python2 executable instead of python
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e9aafbdc85
commit
e68d4eb83b
11 changed files with 23 additions and 16 deletions
|
|
@ -1,11 +1,11 @@
|
|||
ENV_PYTHONPATH := $(PYTHONPATH)
|
||||
PYTHON ?= python
|
||||
PYTHON ?= python2
|
||||
#PYTHON = python3
|
||||
|
||||
ifneq ($(DEVELOPMENT),true)
|
||||
PY_SITE_PACKAGES_PATH = $(shell $(PYTHON) -c "import site; print site.getsitepackages()[0]")
|
||||
else
|
||||
PY_SITE_PACKAGES_PATH = $(PREFIX)/python/site-packages
|
||||
PY_SITE_PACKAGES_PATH = $(PREFIX)/python2/site-packages
|
||||
endif
|
||||
|
||||
PY_PREREQ_BUILD ?= $(shell $(proj_query_cmd) pkg-requires --subsections jw -d ' ' -p --no-version build $(PROJECT))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue