I have a python application that is supposed to be launchable via GUI so it has to have a .desktop file in /usr/share/applications/. The application only supports Linux. Normally, pip installs all files in one directory but it is possible to specify other locations (e.g. the .desktop file) in the setup.py using data_files=.
Is this a good solution in this case or is this something that should only happen in a distribution specific package (like .rpm/.deb/.ebuild)? Can anyone help me with this?