build_all_examples.py 405 B

123456789101112131415161718
  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. 'pygi_mpl_numpy/installer.cfg',
  11. ]
  12. examples_dir = os.path.dirname(os.path.abspath(__file__))
  13. for example_cfg in example_cfgs:
  14. os.chdir(examples_dir)
  15. nsist.main([example_cfg])