/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: Szilveszter Farkas (Phanatic)
  • Date: 2008-03-03 17:24:22 UTC
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: szilveszter.farkas@gmail.com-20080303172422-y1u0gg7kyirrxuun
Installing an olive package is pretty useless. (Fixed: #136432)

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 = [
110
105
        "bzrlib.plugins.gtk",
113
108
        "bzrlib.plugins.gtk.olive",
114
109
        "bzrlib.plugins.gtk.tests",
115
110
        "bzrlib.plugins.gtk.branchview",
116
 
        "bzrlib.plugins.gtk.preferences",
117
111
        ],
118
112
    data_files=[('share/olive', ['olive.glade',
119
113
                                 'cmenu.ui',
130
124
                                 'icons/push16.png',
131
125
                                 'icons/refresh.png',
132
126
                                 '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
127
                ('share/applications', ['olive-gtk.desktop',
140
128
                                        'bazaar-properties.desktop',
141
 
                                        'bzr-handle-patch.desktop',
142
129
                                        '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'])
 
130
                ('share/pixmaps', ['icons/olive-gtk.png'])
151
131
               ],
152
132
    cmdclass={'install_data': InstallData,
153
133
              'check': Check}