mirror of
https://github.com/nadimkobeissi/mkbsd.git
synced 2025-04-21 05:56:32 -04:00
Add alternative method for running with inline script dependencies + uv
This commit is contained in:
parent
82e50c64f0
commit
6896467e5b
2 changed files with 10 additions and 0 deletions
|
@ -30,6 +30,10 @@ MKBSD comes in two variants! Node.js and Python.
|
||||||
4. Wait a little.
|
4. Wait a little.
|
||||||
5. All wallpapers are now in a newly created `downloads` subfolder.
|
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
|
## FAQ
|
||||||
|
|
||||||
### Q: What's the story behind this?
|
### Q: What's the story behind this?
|
||||||
|
|
6
mkbsd.py
6
mkbsd.py
|
@ -1,3 +1,9 @@
|
||||||
|
# /// script
|
||||||
|
# requires-python = ">=3.12"
|
||||||
|
# dependencies = [
|
||||||
|
# "aiohttp",
|
||||||
|
# ]
|
||||||
|
# ///
|
||||||
# Licensed under the WTFPL License
|
# Licensed under the WTFPL License
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Add table
Reference in a new issue