wscript 367 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. from waflib.TaskGen import extension
  4. top = '.'
  5. out = 'build'
  6. @extension('.py', 'wscript')
  7. def check_syntax(self, node):
  8. self.create_task('Pep8', node)
  9. def options(opt):
  10. opt.load('pep8')
  11. def configure(conf):
  12. # warning after this comment
  13. conf.load('pep8')
  14. def build(bld):
  15. bld(source='wscript')