From c84fbc3a41d32647cc6b800b6fdebdc06deb8f11 Mon Sep 17 00:00:00 2001 From: RayStar-k Date: Tue, 22 Sep 2026 00:03:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 255606d..180f72d 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ ifeq ($(OS),Windows_NT) SHELL := cmd.exe SYS_PYTHON ?= py -3.14 -VENV_PYTHON := .venv/Scripts/python.exe +VENV_PIP := .venv/Scripts/pip.exe PY := .venv\Scripts\python.exe else SYS_PYTHON ?= python3.14 -VENV_PYTHON := .venv/bin/python -PY := $(VENV_PYTHON) +VENV_PIP := .venv/bin/pip +PY := .venv/bin/python endif STAMP := .venv/.installed @@ -23,10 +23,10 @@ setup: install .env ## venv, зависимости и .env install: $(STAMP) ## venv и зависимости -$(VENV_PYTHON): +$(VENV_PIP): $(SYS_PYTHON) -m venv .venv -$(STAMP): $(VENV_PYTHON) pyproject.toml +$(STAMP): $(VENV_PIP) pyproject.toml $(PY) -m pip install -e ".[dev]" @$(PY) -c "import pathlib; pathlib.Path('$(STAMP)').touch()"