Skip to content

Commit

Permalink
prints path to python executable as seen by make
Browse files Browse the repository at this point in the history
  • Loading branch information
smirolo committed Sep 6, 2024
1 parent 2b09621 commit bb132d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ PIP := pip
SQLITE := sqlite3
TWINE := twine

RUN_DIR ?= $(srcDir)
RUN_DIR ?= $(abspath $(srcDir))
DB_NAME ?= $(RUN_DIR)/db.sqlite

$(info Path to python executable (i.e. PYTHON) while running make: $(shell which $(PYTHON)))

MANAGE := TESTSITE_SETTINGS_LOCATION=$(CONFIG_DIR) RUN_DIR=$(RUN_DIR) $(PYTHON) manage.py

# Django 1.7,1.8 sync tables without migrations by default while Django 1.9
Expand Down

0 comments on commit bb132d6

Please sign in to comment.