[Distutils] Correct way to include (debian) program icons.

Mac Ryan quasipedia at gmail.com
Thu Sep 15 18:50:48 CEST 2011

On Thu, 15 Sep 2011 16:46:28 +0200
Piotr Ozarowski <ozarow at gmail.com> wrote:

> why do you want to use distutils for that? If it's Debian specific,
> use Debian tools to install these files

Hi Piotr,

	having an icon for a running program it's hardly
a debian-specific thing: more or less any OS have icons for
programs, so it seemed a candidate good enough to have been put in the
abstraction layer represented by setup.py.

	That said, I am very new to packaging, and so far the only way I
have been able to successfully build a package has been with:

	python setup.py --command-packages=stdeb.command bdist_deb

so I was just hoping there was a way to keep it this simple! :)

> (adding "dir/file.xpm /usr/share/pixmaps/" line to
> debian/binary-package-name.install file should be enough)

Thanks for this, sooner or later I will try again to have a crack at
packaging "from the scratch" but so far I got lost in the many
possible way one could do that... [I know - from the presentation you
gave somewhere and I found on the intertubes - that I should focus my
attention on dh_python2, but so far I haven't been able to find a
tutorial easy enough for me to follow. Recommendations on learning
material are most than welcome, of course!]


More information about the Distutils-SIG mailing list