3 ms·
This is true. For example, the following shebang/uv header works on both macOS and Linux: #!/usr/bin/env -S uv --quiet run --script # /// script # requir
by fjarlq 2y ago
This is true. For example, the following shebang/uv header works on both macOS and Linux:
#!/usr/bin/env -S uv --quiet run --script
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "python-dateutil",
# ]
# ///
#
# [python script that needs dateutil]
- bas 2y agoVery informative. Thank you!