16 opt
.tool_options('python')
17 opt
.tool_options('pyuic4', 'buildutils')
23 env
['PYMODS'] = buildutils
.pymod(env
['PREFIX'])
24 env
['PYMODS_UGIT'] = os
.path
.join(env
['PYMODS'], 'ugitlibs')
25 env
['ICONS'] = os
.path
.join(env
['PYMODS_UGIT'], 'icons')
26 env
['BIN'] = os
.path
.join(env
['PREFIX'], 'bin')
28 buildutils
.configure_python(conf
)
29 buildutils
.configure_pyqt(conf
)
33 bld
.add_subdirs('py ui')
35 bin
= bld
.create_obj('py')
38 bin
.find_sources_in_dirs('bin')
40 for icon
in glob
.glob('icons/*.png'):
41 Common
.install_files ('ICONS', '', icon
)
43 Common
.symlink_as ('BIN', 'ugit.py', 'ugit')