/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: 2006-09-10 21:14:28 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060910211428-e0e0b6d5e576fe52
Fix the Win32 build/install issue.

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])