/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: Alexander Belchenko
  • Date: 2006-10-10 08:07:27 UTC
  • mto: (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 103.
  • Revision ID: bialix@ukr.net-20061010080727-50e8eaa7c051b238
minor fix: line endings

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from distutils.command.install_data import install_data
21
21
from distutils.dep_util import newer
22
22
from distutils.log import info
 
23
import glob
23
24
import os
24
 
import glob
 
25
import sys
25
26
 
26
27
class InstallData(install_data):
27
28
        def run(self):
30
31
 
31
32
        def _compile_po_files(self):
32
33
                data_files = []
 
34
                
 
35
                # Don't install language files on Win32
 
36
                if sys.platform == 'win32':
 
37
                    return data_files
 
38
                
33
39
                PO_DIR = 'po'
34
40
                for po in glob.glob(os.path.join(PO_DIR,'*.po')):
35
41
                        lang = os.path.basename(po[:-3])
55
61
                return data_files
56
62
 
57
63
setup(name='Olive',
58
 
      version='0.1',
 
64
      version='0.11.0',
59
65
      description='Olive - Graphical frontend for Bazaar',
60
66
      author='Szilveszter Farkas (Phanatic)',
61
67
      author_email='szilveszter.farkas@gmail.com',
62
68
      url='http://bazaar-vcs.org/Olive',
63
 
      packages=['olive', 'olive.backend', 'olive.frontend',
64
 
                'olive.frontend.gtk', 'olive.frontend.gtk.viz'],
 
69
      packages=['olive'],
65
70
      scripts=['olive-gtk'],
66
71
      data_files=[('share/olive', ['olive.glade',
67
72
                                   'oliveicon2.png',
68
73
                                   'cmenu.ui',
 
74
                                  ]),
 
75
                  ('share/olive/icons', [\
69
76
                                   'icons/commit.png',
70
77
                                   'icons/commit16.png',
71
78
                                   'icons/diff.png',