Y
Hacker News
new
|
ask
|
show
|
jobs
by
leblancfg
1181 days ago
That's specifically for the Poetry package manager, not Python in general.
2 comments
nomel
1181 days ago
Neither is make. You’re using an external tool either way. The one purpose built for the task, and doesn’t have a bunch of archaic footguns [1], will probably give a better experience.
1.
https://stackoverflow.com/questions/17965806/how-do-i-handle...
.
link
paiute
1181 days ago
pyproject.toml is for python in general.
https://peps.python.org/pep-0621/
setup.py is legacy.
link
leblancfg
1181 days ago
The GP comment was referring to the `tools.poetry.scripts` namespace in pyproject.toml.
link
1. https://stackoverflow.com/questions/17965806/how-do-i-handle....