File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ PACKAGE_NAME=plone.volto
2525PACKAGE_PATH =src/
2626CHECK_PATH =setup.py $(PACKAGE_PATH )
2727
28+ # We use Python 3.11 by default. You can use another version by specifying the
29+ # PYTHON_VERSION parameter in make command. For example:
30+ # make build PYTHON_VERSION=3
31+ PYTHON_VERSION =3.11
32+
33+ PYTHON_VERSOIN ?=
34+
2835all : build
2936
3037# Add the following 'help' target to your Makefile
@@ -35,7 +42,7 @@ help: ## This help message
3542
3643bin/pip :
3744 @echo " $( GREEN) ==> Setup Virtual Env$( RESET) "
38- python3 -m venv .
45+ python $( PYTHON_VERSION ) -m venv .
3946 bin/pip install -U pip wheel
4047
4148bin/black bin/isort bin/pyroma bin/zpretty : bin/pip
Original file line number Diff line number Diff line change 1+ Force Python 3.11 in Makefile. @wesleybl
You can’t perform that action at this time.
0 commit comments