Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move to setuptools from poetry build no longer installs binary entrypoint

See original GitHub issue

This change:

More specifically this change:

Causes ~/.local/bin/guarddog to not be “installed” as a script entry point using pip. You can still run guarddog with python -m guarddog scan archinstall but it will fail for github runners using the pip install git+ method:

I’m not sure what setuptools expect during pip install to get this working sadly, more used to poetry and flit. It doesn’t seem that this is helping, but it’s what I would expect to work:

guarddog = "guarddog.cli:cli"

But it’s doubtful that this will ever work with the current build system:

guarddog = "guarddog.cli:cli"

Saving possible related pep saying this should be possible:

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

christophetdcommented, Nov 29, 2022

Something went terribly wrong here, looking into it

Torxedcommented, Nov 29, 2022

Will do, thank you for the quick turnaround 😃 Keep it up!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"No module named 'setuptools'" when installing Poetry from ...
The package should install without error. How to Reproduce. Poetry itself uses poetry as a build tool, so installing poetry from source fails....
Read more >
Ask HN: Why Poetry did not become a mainstream package ...
I have recently been introduced to Poetry. I am a pretty experienced Python dev with both back-end and ML in my project basket....
Read more >
why do I keep getting this message when installing saying ...
Hi I am on OSx Mavericks, using python 2.7 and pip version 6.0.8 and setuptools version 12.2.
Read more >
Announcing Poetry 1.2.0 | Blog
If you rely on Poetry for a Python 2.7 project, the Poetry 1.1 branch is still available, though it will no longer be...
Read more >
Python CLI Utilities with Poetry and Typer - Pluralsight
Python does have a good way to pack scripts along with associated code in its packages to create (relatively) enclosed command-line utilities.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found