Browse Source

some IDEs (pycharm, intellij) seem to have problems with a venv folder called _venv

PYADPT-100
heck 1 year ago
parent
commit
8adb4a01f9
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Makefile
  2. +1
    -1
      Makefile.conf

+ 2
- 2
Makefile View File

@ -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


+ 1
- 1
Makefile.conf View File

@ -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


Loading…
Cancel
Save