chore: update .gitignore and adjust Makefile for new Python interpreter

This commit is contained in:
KaySar12 2025-05-21 09:11:01 +07:00
parent f4550649b8
commit ced33ddfb4
3 changed files with 5 additions and 4 deletions

4
.gitignore vendored
View File

@ -1,4 +1,4 @@
# sphinx build directories
l# sphinx build directories
_build/
# dotfiles
@ -49,4 +49,4 @@ package.json
/man/
/share/
/src/
/venv/
/venv*/

View File

@ -13,6 +13,7 @@ UID = $(shell id -u)
GID = $(shell id -g)
PIP=${PWD}/venv/bin/pip
PYTHON=${PWD}/venv/bin/python
PYTHON_INTERPRETER=${PWD}/venv-interpreter/bin/python
VENV := $(shell [ -d "${PWD}/venv" ] && echo "exists" || echo "missing")
DOCKERCMD=docker
DOCKER_COMPOSE_CMD=docker-compose
@ -36,7 +37,7 @@ BACKUP=${CDN}/raw/branch/main/backup/${VERSION}/odoo18-main_2025-01-15_08-05-47.
AUTOMATION_PATH=${PWD}/automation
UPGRADE_SCRIPTS=$(shell cat upgrade_scripts | tr '\n' ',')
push_code:
$(PYTHON) ${SCRIPT_PATH}/interpreter/gen_commit.py $(GIT_USER) $(GIT_PASS) $(PWD)
$(PYTHON_INTERPRETER) ${SCRIPT_PATH}/interpreter/gen_commit.py $(GIT_USER) $(GIT_PASS) $(PWD)
##### Virtual Environment #####
check-virtualenv:
@if [ "$(VENV)" = "missing" ]; then \

@ -1 +1 @@
Subproject commit a3540e05c33b19bd1d16a50d38ebf0942e69b497
Subproject commit d1a369eddc22bd0ca5c65f54efd33a403b232f78