aboutsummaryrefslogtreecommitdiff
path: root/programming/python/creating_nice_python_cli_tools.md
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-02-17 20:39:00 +0100
committeralexpdp7 <alex@corcoles.net>2025-02-17 20:40:04 +0100
commit98e475f3ce9494b6f4a4b1d46f3e1a00d092b68e (patch)
tree5107aa2124850cd6f1cf6f33863bdde51ca5d781 /programming/python/creating_nice_python_cli_tools.md
parenta583fb15a4c470b1b27db868922c22bbb9183fc1 (diff)
Update stuff to use uv
Diffstat (limited to 'programming/python/creating_nice_python_cli_tools.md')
-rw-r--r--programming/python/creating_nice_python_cli_tools.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/programming/python/creating_nice_python_cli_tools.md b/programming/python/creating_nice_python_cli_tools.md
index 53b3f51b..b192da1a 100644
--- a/programming/python/creating_nice_python_cli_tools.md
+++ b/programming/python/creating_nice_python_cli_tools.md
@@ -3,8 +3,8 @@ Following this advice can make your tools easy to install by others, pleasant to
* Use [my suggestions for setting up Python projects](project_setup.md), particularly:
* Provide instructions for installing your tool using [pipx](https://github.com/pypa/pipx).
Using pipx, people can install and upgrade your script using a simple command that requires no administrative privileges (but it requires having Python and pipx installed).
- * As you are using [poetry](https://python-poetry.org/), following the indications above:
- * Use [Poetry's support for specifying scripts](https://python-poetry.org/docs/pyproject/#scripts), so when installing your tool via pipx or other means, your scripts are added to the user's path.
+ * As you are using [uv](https://docs.astral.sh/uv/), following the indications above:
+ * Use [entry points](https://docs.astral.sh/uv/concepts/projects/config/#entry-points), so when installing your tool via pipx or other means, your scripts are added to the user's path.
* Dependencies you define will be installed automatically along with your application.
This reduces the effort users need to use your application if you need third-party libraries.
However, I would still advise to avoid unnecessary dependencies (for simple HTTP requests you can use the base library. If you do complex requests, then using a third-party library might be much simpler).