build_all_examples.py 439 B

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