How to add icons to a project with build_icons command
Hello,
Not being neither a DistutilsExtra or a debian packaging expert , I'm trying to add some icon files to a python project and I've made the following modifications:
=== modified file 'setup.py'
--- setup.py 2009-06-16 10:48:46 +0000
+++ setup.py 2009-06-18 12:08:26 +0000
@@ -3,6 +3,9 @@
+from DistUtilsExtra.
+from DistUtilsExtra.
+
@@ -37,4 +40,8 @@
+ cmdclass = {
+ "build": build_extra,
+ "build_icons": build_icons,
+ },
)
In addition to this, I've added some files to the "data/icons" directory (the directory that I see is used by default in build_icons command) under the source code. I took those files from another project as a test so it should be fine. However, when running the build or the build_icons command nothing seems to happen (even using the verbose flag).
I think I'm missing something, probably there's some debian configuration file that I should add (at least to define the location in the menu hierarchy in which the icon should be located), but I'm not sure what it is since other projects I've seen don't make use of the 'menu.ex' file and the manage to get the icons installed.
Could you explain what I'm missing or point me to a good reference? Thanks in advance.
Best regards,
Javier
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Pitt
- Solved:
- Last query:
- Last reply: