Add conda as a make setup option (#2305)

Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
This commit is contained in:
Dan Yeaw
2025-03-20 07:10:31 -04:00
committed by GitHub
parent afd7a8eb00
commit 46ca9154c4

View File

@@ -41,8 +41,8 @@ check-python:
# Check the environment, install the dependencies.
setup: check-node check-npm check-python
cd core && npm ci && cd ..
ifeq ($(VIRTUAL_ENV),)
echo "\n\n\033[0;31mCannot install Python dependencies. Your virtualenv is not activated.\033[0m"
ifeq (,$(VIRTUAL_ENV)$(CONDA_PREFIX))
echo "\n\n\033[0;31mCannot install Python dependencies. Your virtualenv or conda env is not activated.\033[0m"
false
else
python -m pip install -r requirements.txt