Skip to content

setup.py: Allow dronecan_gui_tool to be pip installed#128

Merged
tridge merged 1 commit into
dronecan:masterfrom
joshanne:pr/stop-desktop-file-install-on-pip-install-of-project
May 18, 2026
Merged

setup.py: Allow dronecan_gui_tool to be pip installed#128
tridge merged 1 commit into
dronecan:masterfrom
joshanne:pr/stop-desktop-file-install-on-pip-install-of-project

Conversation

@joshanne

Copy link
Copy Markdown
Collaborator

I had a colleague try pip install this repo, and because of the install_freedesktop step in setup.py, it tries to install to /usr/share/applications/.

Honestly, install_freedesktop as a module is old (2015) and the projects repository is no longer active on github.

I would prefer to deprecate the install .desktop files, but i'm unclear on how many users might be using the desktop launcher for the application.

Building the wheel first then installing it allows the application to install, but the .desktop file is not valid in this case.

This should close Issue #94 .

@joshanne joshanne changed the title setup.py: Remove the .desktop file installation unless running python setup.py install --user setup.py: Allow dronecan_gui_tool to be pip installed Apr 25, 2026
@tridge tridge merged commit 3e2d5ae into dronecan:master May 18, 2026
5 checks passed
@joshanne joshanne deleted the pr/stop-desktop-file-install-on-pip-install-of-project branch May 19, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants