4 ms·
Just curious: what do you use make for in python projects?
by spott 2y ago
Just curious: what do you use make for in python projects?
- MadsRC 2y agoNot the parent, but I use it for projects (including Python projects) to run tests, code generation etc. when I can’t use mise.
- whilenot-dev 2y agoAs a task runner. What do you use?
- devjab 2y agoI’m not GP but I use poetry. Can’t even imagine working with Python without it. https://python-poetry.org/docs/cli/ https://python-poetry.org/docs/cli/
- nxpnsv 2y agoYou might enjoy https://poethepoet.natn.io/ 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)
- spott 2y agoI can’t imagine going back to poetry after using uv. uv is like 10x faster than poetry for installs and dependency resolution.
- whilenot-dev 2y agoPoetry is a package manager though, there's Poe the Poet[0] for a reason. How do you use poetry to run custom tasks? [0]: https://poethepoet.natn.io/poetry_plugin.html https://poethepoet.natn.io/poetry_plugin.html
- spott 2y agoJust. 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.
- ashishb 2y agoIf 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?
- jindongz 2y agoDo what I can do in npm scripts