Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickets/DM-42598: get PyPi releases going, and replace pip with UV #177

Merged
merged 6 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add uv to Makefile via 'make init'
  • Loading branch information
athornton committed Dec 16, 2024
commit 4cc0ef8b5900fa95bb2c19eb4cb3ac99bd5f4092
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ VERSION := $(shell $(PYTHON) -c "from importlib.metadata import version;print(ve

default: help

## Install uv (fast pip replacement)
init: $(SENTINELS)/uv

## Regenerate requirements files
requirements: requirements/dev.txt requirements/dev.in requirements/main.txt requirements/main.in

Expand Down Expand Up @@ -90,6 +93,10 @@ $(SENTINELS)/dev-setup: init requirements/main.txt requirements/dev.txt | $(SENT
$(PIP) install -r requirements/dev.txt
@touch $@

$(SENTINELS)/uv: $(SENTINELS)
pip install uv
@touch $@

# Help related variables and targets

GREEN := $(shell tput -Txterm setaf 2)
Expand Down