/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-05-01 12:55:33 UTC
  • mto: This revision was merged to the branch mainline in revision 488.
  • Revision ID: jelmer@samba.org-20080501125533-hesg3b13cxgsyqa2
Import Chris Lamb's olive-gtk manpage.

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.92.0",
 
94
    version = "0.94.0rc1",
91
95
    maintainer = "Jelmer Vernooij",
92
96
    maintainer_email = "jelmer@samba.org",
93
97
    description = "GTK+ Frontends for various Bazaar commands",
98
102
        "bzrlib.plugins.gtk.viz": "viz", 
99
103
        "bzrlib.plugins.gtk.annotate": "annotate",
100
104
        "bzrlib.plugins.gtk.olive": "olive",
101
 
        "bzrlib.plugins.gtk.tests": "tests"
 
105
        "bzrlib.plugins.gtk.tests": "tests",
 
106
        "bzrlib.plugins.gtk.branchview": "branchview",
102
107
        },
103
108
    packages = [
104
 
        "olive",
105
109
        "bzrlib.plugins.gtk",
106
110
        "bzrlib.plugins.gtk.viz",
107
111
        "bzrlib.plugins.gtk.annotate",
108
112
        "bzrlib.plugins.gtk.olive",
109
 
        "bzrlib.plugins.gtk.tests"
 
113
        "bzrlib.plugins.gtk.tests",
 
114
        "bzrlib.plugins.gtk.branchview",
110
115
        ],
111
116
    data_files=[('share/olive', ['olive.glade',
112
117
                                 'cmenu.ui',
123
128
                                 'icons/push16.png',
124
129
                                 'icons/refresh.png',
125
130
                                 'icons/oliveicon2.png']),
 
131
                ('share/bzr-gtk/icons', ['icons/sign-bad.png',
 
132
                                 'icons/sign-ok.png',
 
133
                                 'icons/sign.png',
 
134
                                 'icons/sign-unknown.png',
 
135
                                 'icons/bug.png',
 
136
                                 'icons/bzr-icon-64.png']),
126
137
                ('share/applications', ['olive-gtk.desktop',
127
138
                                        'bazaar-properties.desktop',
 
139
                                        'bzr-handle-patch.desktop',
128
140
                                        'bzr-notify.desktop']),
129
 
                ('share/pixmaps', ['icons/olive-gtk.png'])
 
141
                ('share/application-registry', ['bzr-gtk.applications']),
 
142
                ('share/pixmaps', ['icons/olive-gtk.png', 'icons/bzr-icon-64.png']),
 
143
                ('share/icons/hicolor/scalable/emblems', 
 
144
                    ['icons/emblem-bzr-added.svg', 
 
145
                        'icons/emblem-bzr-conflict.svg', 
 
146
                        'icons/emblem-bzr-controlled.svg', 
 
147
                        'icons/emblem-bzr-modified.svg',
 
148
                        'icons/emblem-bzr-removed.svg'])
130
149
               ],
131
150
    cmdclass={'install_data': InstallData,
132
151
              'check': Check}