What is the meaning of type = "console"
in scripts example
#8436
Replies: 2 comments 2 replies
-
https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html |
Beta Was this translation helpful? Give feedback.
-
@dimbleby I think I should clarify, I believe the documentation needs to be updated because there's an option that is tossed out in an example but is not documented in any. A link to an unofficial document about making python packages that hasn't been updated in 8 years isn't very helpful. There's been significant changes in python and packaging since then, including an official packaging document site packaging.python.org. If |
Beta Was this translation helpful? Give feedback.
-
I the pyproject.toml documentation where is talks about making scripts dependent on optional extras https://python-poetry.org/docs/pyproject/#scripts it give the example
I get what
reference
andextras
are for, but there is no documentation for what type means. It appears appears it was added in commit 98b8ffb by @edgarrmondragon updating from the deprecatedcallable
toreference
two months ago. But nothing about typeBeta Was this translation helpful? Give feedback.
All reactions