summaryrefslogtreecommitdiff
path: root/utils/makefile.python
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-19 04:50:36 +0000
committerGitHub <noreply@github.com>2020-06-19 04:50:36 +0000
commit6337d515dd11d2014a775b67103eda51c7fc38e2 (patch)
treefdd3f1e67a8e08d28b137348834aa6c72e4513ab /utils/makefile.python
parent5dd235463a11bec2e3546e89f2b31d2a5aa40326 (diff)
parentc83007a6bcd2a7f765e7655b91cc6714fbc4ab01 (diff)
Merge branch 'master' into new-readme
Diffstat (limited to 'utils/makefile.python')
-rw-r--r--utils/makefile.python8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/makefile.python b/utils/makefile.python
index 590bbdb46..df16acbbf 100644
--- a/utils/makefile.python
+++ b/utils/makefile.python
@@ -8,9 +8,9 @@ export PYTHONPATH := $(SITE_PYTHON):$$PYTHONPATH
export PY_ENV PYDIST PYBUILD
# folder where the python distribution takes place
-PYDIST ?= ./py_dist
+PYDIST = ./$(LXC_ENV_FOLDER)dist
# folder where the python intermediate build files take place
-PYBUILD ?= ./py_build
+PYBUILD = ./$(LXC_ENV_FOLDER)build
# python version to use
PY ?=3
# $(PYTHON) points to the python interpreter from the OS! The python from the
@@ -30,8 +30,7 @@ PYLINT_RC ?= .pylintrc
TEST_FOLDER ?= ./tests
TEST ?= .
-VTENV_OPTS = "--no-site-packages"
-PY_ENV = ./local/py$(PY)
+PY_ENV = ./$(LXC_ENV_FOLDER)local/py$(PY)
PY_ENV_BIN = $(PY_ENV)/bin
PY_ENV_ACT = . $(PY_ENV_BIN)/activate
@@ -41,6 +40,7 @@ ifeq ($(OS),Windows_NT)
PY_ENV_ACT = $(PY_ENV_BIN)/activate
endif
+VTENV_OPTS ?=
ifeq ($(PYTHON),python)
VIRTUALENV = virtualenv
else