Skip to content

Commit

Permalink
adds pep-0723 script to enable localdev `uv run ./manage.py runserver…
Browse files Browse the repository at this point in the history
…` without venv.
  • Loading branch information
birkin committed Oct 26, 2024
1 parent 110cf3c commit 3976be4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## <https://peps.python.org/pep-0723/> recently adopted python standard.
## Allows, for development, to run the app via `uv run ./manage.py runserver`, with no venv.
# /// script
# requires-python = "~=3.8.0"
# dependencies = [
# "django~=4.2.0",
# "python-dotenv~=1.0.0",
# "requests~=2.27.0",
# "trio~=0.26.0",
# "urllib3~=1.26.0",
# ]
# ///

#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
Expand Down

0 comments on commit 3976be4

Please sign in to comment.