/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

Add options to viz treeview to not show the line graph, and to only show the main line.
Set the revision browser to use these options.

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
 
        self.data_files.extend(self._nautilus_plugin())
 
39
        # Disable for now - performance issues
 
40
        #self.data_files.extend(self._nautilus_plugin())
40
41
        install_data.run(self)
41
 
 
42
 
        try:
43
 
            subprocess.check_call('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
44
 
        except:
45
 
            pass
46
 
 
 
42
    
47
43
    def _compile_po_files(self):
48
44
        data_files = []
49
45
        
91
87
 
92
88
setup(
93
89
    name = "bzr-gtk",
94
 
    version = "0.95.0",
 
90
    version = "0.94.0",
95
91
    maintainer = "Jelmer Vernooij",
96
92
    maintainer_email = "jelmer@samba.org",
97
93
    description = "GTK+ Frontends for various Bazaar commands",
98
 
    license = "GNU GPL v2 or later",
99
 
    scripts=['olive-gtk', 'bzr-handle-patch'],
 
94
    license = "GNU GPL v2",
 
95
    scripts=['olive-gtk'],
100
96
    package_dir = {
101
97
        "bzrlib.plugins.gtk": ".",
102
98
        "bzrlib.plugins.gtk.viz": "viz", 
104
100
        "bzrlib.plugins.gtk.olive": "olive",
105
101
        "bzrlib.plugins.gtk.tests": "tests",
106
102
        "bzrlib.plugins.gtk.branchview": "branchview",
107
 
        "bzrlib.plugins.gtk.preferences": "preferences",
108
103
        },
109
104
    packages = [
 
105
        "olive",
110
106
        "bzrlib.plugins.gtk",
111
107
        "bzrlib.plugins.gtk.viz",
112
108
        "bzrlib.plugins.gtk.annotate",
113
109
        "bzrlib.plugins.gtk.olive",
114
110
        "bzrlib.plugins.gtk.tests",
115
111
        "bzrlib.plugins.gtk.branchview",
116
 
        "bzrlib.plugins.gtk.preferences",
117
112
        ],
118
113
    data_files=[('share/olive', ['olive.glade',
119
114
                                 'cmenu.ui',
130
125
                                 'icons/push16.png',
131
126
                                 'icons/refresh.png',
132
127
                                 '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']),
139
128
                ('share/applications', ['olive-gtk.desktop',
140
129
                                        'bazaar-properties.desktop',
141
 
                                        'bzr-handle-patch.desktop',
142
130
                                        'bzr-notify.desktop']),
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'])
 
131
                ('share/pixmaps', ['icons/olive-gtk.png'])
151
132
               ],
152
133
    cmdclass={'install_data': InstallData,
153
134
              'check': Check}