From 8adb4a01f949305b0d1fa75ff6905535fcae5114 Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 10 Nov 2020 00:09:48 +0100 Subject: [PATCH] some IDEs (pycharm, intellij) seem to have problems with a venv folder called _venv --- Makefile | 4 ++-- Makefile.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a1bbb25..c608c12 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ include Makefile.conf -.PHONY: all dist dist-egg dist-whl install install-prefix install-sys compile clean devenv envtest docs clean-docs test +.PHONY: all compile compile-inplace dist dist-egg dist-whl install install-user venv envtest install-test test develop docs clean clean-all clean-docs all: dist # Build @@ -42,7 +42,7 @@ install-user: compile # already set for the prefix specified in local.conf # Only activates venv if already existing venv: - python3 -m venv $(VENV_DIR) + python -m venv $(VENV_DIR) LD_LIBRARY_PATH=$(PREFIX)/lib \ DYLD_LIBRARY_PATH=$(PREFIX)/lib \ bash --rcfile $(VENV_DIR)/bin/activate diff --git a/Makefile.conf b/Makefile.conf index 23a8380..126cc86 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -8,7 +8,7 @@ BUILD_INPLACE = ./src/pEp/_pEp.cpython-38-darwin.so PYTHON_ARTIFACTS += ./.eggs PYTHON_ARTIFACTS += ./src/pEp.egg-info PYTHON_ARTIFACTS += ./.pytest_cache -VENV_DIR = ./_venv +VENV_DIR = ./venv # Build config Defaults DEBUG=0