File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " test-starlette"
3+ version = " 0"
4+ requires-python = " >=3.12"
5+
6+ dependencies = [
7+ " ipdb>=0.13.13" ,
8+ " starlette>=0.46.1" ,
9+ " uvicorn>=0.34.0" ,
10+ " sentry-sdk[starlette]" ,
11+ ]
12+
13+ [tool .uv .sources ]
14+ sentry-sdk = { path = " ../../sentry-python" , editable = true }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ set -euo pipefail
23
3- # exit on first error
4- set -xe
4+ if ! command -v uv & > /dev/null; then
5+ curl -LsSf https://astral.sh/uv/install.sh | sh
6+ fi
57
6- # create and activate virtual environment
7- python -m venv .venv
8- source .venv/bin/activate
9-
10- # Install (or update) requirements
11- python -m pip install -r requirements.txt
12-
13- # Run starlette app
14- uvicorn main:app --reload
8+ uv run uvicorn main:app --reload
You can’t perform that action at this time.
0 commit comments