Skip to content

pipx installation does not expose the gitfive CLI entry point #69

Description

@mohammadzarnian1357

Description

First of all, thank you for creating and maintaining GitFive.

I encountered an issue while installing GitFive using the installation method described in the README.

Environment

  • OS: Ubuntu 24.04
  • Shell: zsh
  • Python: 3.12.3
  • pipx: latest available version

Steps to reproduce

pip3 install pipx --break-system-packages
pipx ensurepath
pipx install gitfive --include-deps

Expected behavior

The gitfive command should be available after installation.

Example:

gitfive --help

Actual behavior

The installation succeeds without errors, but no gitfive executable is exposed.

pipx list shows:

package gitfive 1.1.10
    - f2py
    - find_similar_images.py
    - httpx
    - idna
    - markdown-it
    - normalizer
    - numpy-config
    - pygmentize
    - unidecode

Notice that only executables from dependencies are exposed, while the gitfive CLI itself is missing.

The virtual environment also does not contain a gitfive executable:

ls ~/.local/share/pipx/venvs/gitfive/bin/

Additional information

The project itself works correctly when executed directly:

python3 main.py --help

which correctly displays:

usage: gitfive [-h] {login,user,email,emails,light} ...

I also noticed that the CLI entry point is currently declared under:

[tool.poetry.scripts]
gitfive = "gitfive.gitfive:main"

Could this be related to the packaging configuration? Since newer packaging standards typically expose CLI entry points through the [project.scripts] section defined by PEP 621, perhaps pipx is not detecting the executable correctly depending on the build backend.

I'm not sure whether this is expected behavior or a packaging issue, but I wanted to report it in case it helps.

Thanks again for the great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions