Skip to content

Commit

Permalink
Update Python version for project setup target
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeexe committed Jan 30, 2025
1 parent c4fa792 commit 41fcecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ SHELL :=/bin/bash
.PHONY: clean check setup
.DEFAULT_GOAL=help
VENV_DIR = .venv
PYTHON_VERSION = python3.10

check: # Ruff check
@ruff check .
Expand All @@ -23,7 +24,7 @@ run: # Run the application

setup: # Initial project setup
@echo "Creating virtual env at: $(VENV_DIR)"s
@python3 -m venv $(VENV_DIR)
@$(PYTHON_VERSION) -m venv $(VENV_DIR)
@echo "Installing dependencies..."
@source $(VENV_DIR)/bin/activate && pip install -r requirements/requirements-dev.txt && pip install -r requirements/requirements.txt
@echo -e "\n✅ Done.\n🎉 Run the following commands to get started:\n\n ➡️ source $(VENV_DIR)/bin/activate\n ➡️ make run\n"
Expand Down

0 comments on commit 41fcecd

Please sign in to comment.