waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript (797B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 
      4 
      5 def options(opt):
      6 	opt.load('python pyqt5')
      7 
      8 def configure(conf):
      9 	conf.load('python pyqt5')
     10 	conf.check_python_version(minver=(2, 7, 0))
     11 
     12 
     13 def build(bld):
     14 	bld(name='mod1', features='py', source=bld.path.ant_glob('mod1/src/**/*.py'), install_from='mod1/src')
     15 	bld(name='mod2', features='py', source=bld.path.ant_glob('mod2/src/**/*.py'), install_from='mod2/src')
     16 	bld(name='mod3', features='py', source=bld.path.ant_glob('mod3/src/**/*.py'), install_from='mod3/src')
     17 
     18 	bld(name='withqt5', features='py pyqt5', source=bld.path.ant_glob('withqt5/src/**/*'), install_from='withqt5/src')
     19 
     20 	# Example program with module dependencies
     21 	bld(name='prg', features='py', source=bld.path.ant_glob('prg/src/**/*.py'), install_from='prg/src', use='mod1 mod2 mod3')