build_all_examples.py 369 B

1234567891011121314151617
  1. import os
  2. import nsist
  3. example_cfgs = [
  4. 'console/installer.cfg',
  5. 'pyqt/installer.cfg',
  6. 'tkinter/installer.cfg',
  7. 'pygame/installer.cfg',
  8. 'pygtk/installer.cfg',
  9. 'pygtk_mpl_numpy/installer.cfg',
  10. ]
  11. examples_dir = os.path.dirname(os.path.abspath(__file__))
  12. for example_cfg in example_cfgs:
  13. os.chdir(examples_dir)
  14. nsist.main([example_cfg])