~ubuntu-branches/ubuntu/intrepid/update-manager/intrepid

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-04-20 18:23:54 UTC
  • Revision ID: james.westby@ubuntu.com-20060420182354-mbpnqmq3owrrvvwu
Tags: 0.42.2ubuntu13
* po/POTFILES.in: add missing desktop file (ubuntu: #39410)
* UpdateManager/UpdateManager.py: 
  - fix in the get_changelog logic (ubuntu: #40058)
  - correct a error in the changelog parser (ubuntu: #40060)
  - fix download size reporting (ubuntu: #39579)
* debian/rules: added dh_iconcache
* setup.py: install the icons into the hicolor icon schema
  (thanks to Sebastian Heinlein)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    targetpath = os.path.dirname(os.path.join("share/locale",lang))
24
24
    I18NFILES.append((targetpath, [filepath]))
25
25
 
 
26
ICONS = []
 
27
for size in glob.glob("data/icons/*"):
 
28
    for category in glob.glob("%s/*" % size):
 
29
        icons = []
 
30
        for icon in glob.glob("%s/*" % category):
 
31
            icons.append(icon)
 
32
        ICONS.append(("share/icons/hicolor/%s/%s" % \
 
33
                      (os.path.basename(size), \
 
34
                       os.path.basename(category)), \
 
35
                       icons))
 
36
print ICONS
 
37
 
 
38
 
26
39
os.system("intltool-merge -d po data/update-manager.schemas.in"\
27
40
           " build/update-manager.schemas")
28
41
 
42
55
                'UpdateManager.Common'
43
56
                ],
44
57
      scripts=[
45
 
               'gnome-software-properties',
 
58
               'software-properties',
46
59
               'update-manager'
47
60
               ],
48
61
      data_files=[
49
62
                  ('share/update-manager/glade',
50
 
                     glob.glob("data/*.glade")+
51
 
                      ["data/update-manager-logo.png",
52
 
                       "data/update-manager.png"]
 
63
                     glob.glob("data/*.glade")
53
64
                  ),
54
65
                  ('share/update-manager/channels',
55
66
                     glob.glob("channels/*")
56
67
                  ),
57
68
                  ('share/applications',
58
69
                     ["data/update-manager.desktop",
59
 
                      "data/gnome-software-properties.desktop"]
 
70
                      "data/software-properties.desktop"]
60
71
                  ),
61
72
                  ('share/gconf/schemas',
62
73
                  glob.glob("build/*.schemas")
63
74
                  ),
64
 
                  ('share/pixmaps',
65
 
                   ["data/update-manager.png"]
66
 
                  ),
67
 
                  ] + I18NFILES + HELPFILES,
 
75
                  ] + I18NFILES + HELPFILES + ICONS,
68
76
      )
69
77
 
70
78