I have an application package which is installed from pip, often in editable mode. For convenience after install there are user scripts to add desktop and menu shortcuts. How do I tell pip and other package managers about these extra files so they can be automatically removed when uninstalled?
I’ve found the *.dist-info/RECORD
file, but that seems to be only created for packages installed from wheels(?).
Another version of this Q at https://stackoverflow.com/questions/57311988/where-is-pips-list-of-files-to-remove-for-a-package/
Typical install scenario:
git clone {application}
pip install --editable path/to/app-code
python user-scripts/make-menu-shortcuts.py