Add alternative method for running with inline script dependencies + uv

This commit is contained in:
Zachary Blackwood 2024-09-25 09:40:59 -04:00
parent 82e50c64f0
commit 6896467e5b
2 changed files with 10 additions and 0 deletions

View file

@ -30,6 +30,10 @@ MKBSD comes in two variants! Node.js and Python.
4. Wait a little.
5. All wallpapers are now in a newly created `downloads` subfolder.
Alternatively, instead of steps 2 and 3, you can:
* Install uv (https://docs.astral.sh/uv/#getting-started)
* Run `uv run mkbsd.py`
## FAQ
### Q: What's the story behind this?

View file

@ -1,3 +1,9 @@
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "aiohttp",
# ]
# ///
# Licensed under the WTFPL License
import os