Changeset 1119

Show
Ignore:
Timestamp:
01/14/07 23:31:06 (2 years ago)
Author:
arjanmol
Message:

Updated install procedure and scripts.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/branches/new-canvas/setup.py

    r1074 r1119  
    228228        # install a new version.py with install_data as data_dir; 
    229229        # get rid of install root directory 
    230         skip = len(self.get_finalized_command('install').root) 
     230        print 'self', dir(self) 
     231        print 'self.get_finalized_command("install")', dir(self.get_finalized_command('install')) 
     232         
     233        skip = len(self.get_finalized_command('install').root or '') 
    231234 
    232235        self.generate_version(self.install_dir, self.install_data[skip:]) 
     
    427430                'gaphor.actions', 
    428431                'gaphor.actions.tests', 
     432                'gaphas', 
    429433                'zope', 
    430434                'zope.interface', 
     
    482486             all_linguas = ','.join(LINGUAS), 
    483487         ), 
     488         install_mo = dict( 
     489             all_linguas = ','.join(LINGUAS), 
     490         ), 
    484491     ) 
    485492) 
  • gaphor/branches/new-canvas/utils/install_mo.py

    r384 r1119  
    3434    user_options = [('install-dir=', None, 
    3535                     'Directory to install locales into (default: <prefix>/share/locale/<lang>/LC_MESSAGES'), 
     36                    ('all-linguas', None, ''), 
    3637    ] 
    3738 
     
    4041        self.build_dir = None 
    4142        self.root = None 
     43        self.all_linguas = None 
    4244 
    4345    def finalize_options(self): 
     
    4850                                   ('root', 'root')) 
    4951 
    50         self.all_linguas = self.distribution.get_all_linguas() 
    5152        self.name = self.distribution.get_name() 
     53        self.all_linguas = self.all_linguas.split(',') 
    5254 
    5355        if self.root: