Skip to content

Poetry and Makefile #7739

Answered by mapsa
brunolnetto asked this question in General
Mar 29, 2023 · 4 comments · 2 replies
Discussion options

You must be logged in to vote
enable: poetry shell

A bit too late but your enable target is wrong. It is saying poetry is a dependency. The Makefile will try to build your dependencies and it is expecting to build your poetry target that doesn't exist (it will also try to create a shell target after which is also wrong).
It should be:

enable:
<tab> poetry shell

I have created a simple guidelines for Makefiles here https://github.com/mapsa/makefile-examples in case it helps. I would include phony targets too (enable is one).

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dimbleby
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@brunolnetto
Comment options

Answer selected by brunolnetto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants