Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Makefile with poe tasks in pyproject.toml #177

Open
nat-n opened this issue Oct 18, 2024 · 2 comments
Open

Replace Makefile with poe tasks in pyproject.toml #177

nat-n opened this issue Oct 18, 2024 · 2 comments

Comments

@nat-n
Copy link

nat-n commented Oct 18, 2024

Hi, GitHub randomly showed me this project which looks very useful.

Firstly, full disclosure: I'm the author of Poe the Poet. I created it because I saw the need for a more delightful alternative to using Makefiles in poetry projects. I would highlight the following advantages over make:

  • simpler task declaration within the pyproject.toml without any boilerplate or peculiar syntax (.PHONY?)
  • tasks are self documenting
  • automatically runs tasks with poetry's venv (no need to specify poetry run) and can be installed directly into poetry as a plugin
  • lots of features including much better support for defining task argument

It has a growing user base: PyPI version

Maybe you like just like Makefiles, and that's fair, but if you're open to it I'd be happy to propose a PR to demonstrate what replacing the Makefile with poe tasks would look like in practice 🙂

@Diapolo10
Copy link
Owner

Yes, I recognise you. I believe I've had a chat with you before in the issues of another project, some years ago.

For the time being I'm not particularly interested, and the Makefile is mostly there just in case I happen to be on a Linux system and find it more convenient (honestly it's probably outdated anyway, I rarely touch it). Feel free to fork the project and add your modifications though, perhaps you can convince me otherwise.

@Diapolo10
Copy link
Owner

On a mostly unrelated note, I've currently focused on getting proper logging configuration working in the template (in a form that can be easily removed, such as if working on a library), if you happen to have time on your hands feel free to take a look at that. I've been a bit too busy with work lately to really work on free time projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants