/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2008-06-29 19:18:34 UTC
  • mto: This revision was merged to the branch mainline in revision 515.
  • Revision ID: jelmer@samba.org-20080629191834-ha2ecpv5szt96nge
Make sure signed testament matches repository data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
class InstallData(install_data):
37
37
    def run(self):
38
38
        self.data_files.extend(self._compile_po_files())
39
 
        # Disable for now - performance issues
40
 
        #self.data_files.extend(self._nautilus_plugin())
 
39
        self.data_files.extend(self._nautilus_plugin())
41
40
        install_data.run(self)
42
 
    
 
41
 
 
42
        try:
 
43
            subprocess.check_call('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
 
44
        except:
 
45
            pass
 
46
 
43
47
    def _compile_po_files(self):
44
48
        data_files = []
45
49
        
87
91
 
88
92
setup(
89
93
    name = "bzr-gtk",
90
 
    version = "0.94.0",
 
94
    version = "0.95.0",
91
95
    maintainer = "Jelmer Vernooij",
92
96
    maintainer_email = "jelmer@samba.org",
93
97
    description = "GTK+ Frontends for various Bazaar commands",
94
 
    license = "GNU GPL v2",
95
 
    scripts=['olive-gtk'],
 
98
    license = "GNU GPL v2 or later",
 
99
    scripts=['olive-gtk', 'bzr-handle-patch'],
96
100
    package_dir = {
97
101
        "bzrlib.plugins.gtk": ".",
98
102
        "bzrlib.plugins.gtk.viz": "viz", 
100
104
        "bzrlib.plugins.gtk.olive": "olive",
101
105
        "bzrlib.plugins.gtk.tests": "tests",
102
106
        "bzrlib.plugins.gtk.branchview": "branchview",
 
107
        "bzrlib.plugins.gtk.preferences": "preferences",
103
108
        },
104
109
    packages = [
105
 
        "olive",
106
110
        "bzrlib.plugins.gtk",
107
111
        "bzrlib.plugins.gtk.viz",
108
112
        "bzrlib.plugins.gtk.annotate",
109
113
        "bzrlib.plugins.gtk.olive",
110
114
        "bzrlib.plugins.gtk.tests",
111
115
        "bzrlib.plugins.gtk.branchview",
 
116
        "bzrlib.plugins.gtk.preferences",
112
117
        ],
113
118
    data_files=[('share/olive', ['olive.glade',
114
119
                                 'cmenu.ui',
125
130
                                 'icons/push16.png',
126
131
                                 'icons/refresh.png',
127
132
                                 'icons/oliveicon2.png']),
 
133
                ('share/bzr-gtk/icons', ['icons/sign-bad.png',
 
134
                                 'icons/sign-ok.png',
 
135
                                 'icons/sign.png',
 
136
                                 'icons/sign-unknown.png',
 
137
                                 'icons/bug.png',
 
138
                                 'icons/bzr-icon-64.png']),
128
139
                ('share/applications', ['olive-gtk.desktop',
129
140
                                        'bazaar-properties.desktop',
 
141
                                        'bzr-handle-patch.desktop',
130
142
                                        'bzr-notify.desktop']),
131
 
                ('share/pixmaps', ['icons/olive-gtk.png'])
 
143
                ('share/application-registry', ['bzr-gtk.applications']),
 
144
                ('share/pixmaps', ['icons/olive-gtk.png', 'icons/bzr-icon-64.png']),
 
145
                ('share/icons/hicolor/scalable/emblems', 
 
146
                    ['icons/emblem-bzr-added.svg', 
 
147
                        'icons/emblem-bzr-conflict.svg', 
 
148
                        'icons/emblem-bzr-controlled.svg', 
 
149
                        'icons/emblem-bzr-modified.svg',
 
150
                        'icons/emblem-bzr-removed.svg'])
132
151
               ],
133
152
    cmdclass={'install_data': InstallData,
134
153
              'check': Check}