Changeset 1119
- Timestamp:
- 01/14/07 23:31:06 (2 years ago)
- Files:
-
- gaphor/branches/new-canvas/setup.py (modified) (3 diffs)
- gaphor/branches/new-canvas/utils/install_mo.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/branches/new-canvas/setup.py
r1074 r1119 228 228 # install a new version.py with install_data as data_dir; 229 229 # 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 '') 231 234 232 235 self.generate_version(self.install_dir, self.install_data[skip:]) … … 427 430 'gaphor.actions', 428 431 'gaphor.actions.tests', 432 'gaphas', 429 433 'zope', 430 434 'zope.interface', … … 482 486 all_linguas = ','.join(LINGUAS), 483 487 ), 488 install_mo = dict( 489 all_linguas = ','.join(LINGUAS), 490 ), 484 491 ) 485 492 ) gaphor/branches/new-canvas/utils/install_mo.py
r384 r1119 34 34 user_options = [('install-dir=', None, 35 35 'Directory to install locales into (default: <prefix>/share/locale/<lang>/LC_MESSAGES'), 36 ('all-linguas', None, ''), 36 37 ] 37 38 … … 40 41 self.build_dir = None 41 42 self.root = None 43 self.all_linguas = None 42 44 43 45 def finalize_options(self): … … 48 50 ('root', 'root')) 49 51 50 self.all_linguas = self.distribution.get_all_linguas()51 52 self.name = self.distribution.get_name() 53 self.all_linguas = self.all_linguas.split(',') 52 54 53 55 if self.root:
