Skip to content

Installation via pipx fails due to PyCG dependency #2

@whitequark

Description

@whitequark

I'd really like to try out the package! However, there is no first-party Docker image (I don't want to build my own for a tool I'm not familiar with yet); I don't really want to use Docker anyway, but unfortunately pipx, which is the recommended way to install Python CLI tools, doesn't work either:

$ pipx install pytrim
installed package pytrim 0.1.2, installed using Python 3.13.5
These apps are now globally available
- pytrim
- trim
done! ✨ 🌟 ✨
$ pytrim amaranth/
Generating call graph: 0it [00:00, ?it/s]PyCG is not installed. Install it with:
git clone https://github.com/gdrosos/PyCG.git
cd PyCG
pip3 install .
export PATH="$HOME/.local/bin:$PATH"
Generating call graph: 0it [00:01, ?it/s]

I suspect that declaring PyCG as a dependency will resolve this, but I haven't dug into the source yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions