Re:Mise: Dev tools, env vars, task runner
by spott on Sunday December 08, 2024 @01:21PM
(#42358929)
Just curious: what do you use make for in python projects?
[ Parent
| on HN ]
Re:Mise: Dev tools, env vars, task runner
by ashishb on Sunday December 08, 2024 @03:14PM
(#42360019)
If not makefile then what do you use for a project that has Python for backend and JavaScript for frontend? Does everyone learns all the tools or do you just provide a 'make lint' that works in all codebases?
Re:Mise: Dev tools, env vars, task runner
by MadsRC on Sunday December 08, 2024 @02:06PM
(#42359429)
Not the parent, but I use it for projects (including Python projects) to run tests, code generation etc. when I can’t use mise.
Re:Mise: Dev tools, env vars, task runner
by whilenot-dev on Sunday December 08, 2024 @02:07PM
(#42359445)
As a task runner. What do you use?
Just.
It is a less heavyweight make. Similar syntax and behavior, no .PHONY, a couple of helper functions and behaviors. It is designed as a task runner rather than a build system.
Re:Mise: Dev tools, env vars, task runner
by devjab on Sunday December 08, 2024 @02:20PM
(#42359583)
I’m not GP but I use poetry. Can’t even imagine working with Python without it.
Re:Mise: Dev tools, env vars, task runner
by nxpnsv on Sunday December 08, 2024 @03:39PM
(#42360218)
You might enjoy https://poethepoet.natn.io/ it makes tasks easier, and you don't even need poetry to benefit from it (I use it with UV these days)
I can’t imagine going back to poetry after using uv.
uv is like 10x faster than poetry for installs and dependency resolution.
Re:Mise: Dev tools, env vars, task runner
by whilenot-dev on Monday December 09, 2024 @01:54AM
(#42363636)
Poetry is a package manager though, there's Poe the Poet[0] for a reason. How do you use poetry to run custom tasks?