How to distribute `.desktop` files and icons for a Python package in Gnome (with distutils or setuptools)?

前端 未结 4 1473
灰色年华
灰色年华 2020-12-16 02:33

Currently I\'m using the auto-tools to build/install and package a project of mine, but I would really like to move to something that feels more \"pythonic\".

My pro

4条回答
  •  一生所求
    2020-12-16 03:18

    You can try to use python-distutils-extra. The DistUtilsExtra.auto module automatically supports .desktop files, as well as Glade/GtkBuilder .ui files, Python modules and scripts, misc data files, etc.

    It should work both with Distutils and Setuptools.

提交回复
热议问题