This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch install-uv in repository https://gitbox.apache.org/repos/asf/superset.git
commit 0a2e75c919bbac983b79d43d987be27b9c8b58ca Author: Hugh A. Miles II <[email protected]> AuthorDate: Wed Oct 30 03:14:04 2024 +0000 use uv --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 33bb511f2d..c569a04987 100644 --- a/Makefile +++ b/Makefile @@ -20,14 +20,22 @@ PYTHON=`command -v python3.11 || command -v python3.10` .PHONY: install superset venv pre-commit -install: superset pre-commit +install: uv superset pre-commit + +uv: + # install uv + pip install uv + + # create virtualenv + uv venv superset: + # Install external dependencies - pip install -r requirements/development.txt + uv pip install -r requirements/development.txt # Install Superset in editable (development) mode - pip install -e . + uv pip install -e . # Create an admin user in your metadata database superset fab create-admin \ @@ -49,7 +57,7 @@ superset: # Install node packages cd superset-frontend; npm ci -update: update-py update-js +update: uv update-py update-js update-py: # Install external dependencies
