Changeset 2135
- Timestamp:
- 09/19/07 23:33:30 (10 months ago)
- Files:
-
- gaphor/branches/gaphor-0.12/setup.py (modified) (3 diffs)
- gaphor/branches/gaphor-0.12/utils/command/build_uml.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/branches/gaphor-0.12/setup.py
r2130 r2135 8 8 """ 9 9 10 VERSION = '0.12. 3'10 VERSION = '0.12.4' 11 11 12 12 import os … … 28 28 29 29 LINGUAS = [ 'ca', 'es', 'nl', 'sv' ] 30 31 from setuptools.command.build_py import build_py 32 33 class build_py_with_sub_commands(build_py): 34 35 def run(self): 36 for cmd_name in self.get_sub_commands(): 37 self.run_command(cmd_name) 38 39 build_py.run(self) 40 41 build_py_with_sub_commands.sub_commands.append(('build_uml', None)) 42 30 43 31 44 class build_doc(Command): … … 161 174 162 175 cmdclass = { 176 'build_py': build_py_with_sub_commands, 163 177 'build_uml': build_uml, 164 178 'build_mo': build_mo, gaphor/branches/gaphor-0.12/utils/command/build_uml.py
r2130 r2135 61 61 62 62 63 # Wrap setuptools' build_py command, so we're sure build_uml is performed64 # before the build_py code.65 66 from setuptools.command.build_py import build_py67 68 def build_py_run(self, run=build_py.run):69 for cmd_name in self.get_sub_commands():70 self.run_command(cmd_name)71 72 run(self)73 74 build_py.run = build_py_run75 76 build_py.sub_commands.append(('build_uml', None))77 78 63 # vim:sw=4:et
