From 063bc2373d972b7cf3c75c39b2181ec6169230b3 Mon Sep 17 00:00:00 2001 From: Vinicius Silva Date: Mon, 25 Dec 2023 23:05:02 -0300 Subject: [PATCH] Update makefile --- danix/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/danix/makefile b/danix/makefile index 92861ff..b260b1a 100644 --- a/danix/makefile +++ b/danix/makefile @@ -48,8 +48,8 @@ else @touch $(DANIX_PATH)/db/$(DB_NAME) @$(PIP) install -r $(DANIX_PATH)/requirements.txt - @rm -r /opt/hostedtoolcache/Python/$(python --version 2>&1 | awk '{print $2}')/x64/lib/python$(python --version 2>&1 | awk '{print $2}' | cut -d'.' -f1,2)/site-packages/django/apps/registry.py - @mv $(DANIX_PATH)/registry.py /opt/hostedtoolcache/Python/$(python --version 2>&1 | awk '{print $2}')/x64/lib/python$(python --version 2>&1 | awk '{print $2}' | cut -d'.' -f1,2)/site-packages/django/apps/ + @rm -r $(python -c "import sysconfig; print(sysconfig.get_paths()['purelib'])")/django/apps/registry.py + @mv $(DANIX_PATH)/registry.py $(python -c "import sysconfig; print(sysconfig.get_paths()['purelib'])")/django/apps/django/apps/ @$(PYTHON) $(DANIX_PATH)/manage.py migrate