Closed tedliosu closed 9 months ago
Pip 23.1 and newer always installs the package by building a wheel and unpacking it inside site-packages
directory. The old way of using setup.py install
was removed (see pypa/pip#8368). So there is no way to install anything outside site-packages
anymore, and ~/.local/share/applications
is outside that directory.
To get the desktop file installed automatically, you can either use your distro's package manager, or bypass pip and call setup.py install
manually.
This isn't a major issue, but per the title of this issue, I installed ReText via
pip install --user retext
per the instructions in this repository's mainREADME.md
, and a desktop entry file wasn't automatically installed to~/.local/share/applications
, unlike what this comment and this other comment is implying. Is this behavior supposed to be the case? As you may see in the screenshot below, I double-checked the projectRECORD
file just to make sure, and the desktop entry file isn't listed in thatRECORD
file either:Fortunately all I had to do as a workaround was to simply download the desktop entry file directly from this repository and move it to
~/.local/share/applications
, but I just want to make sure that it isn't expected for the end user to do this extra step when ReText is installed via thepip
command mentioned in this issue.