1
0

build_all_examples.py 305 B

123456789101112131415
  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. ]
  9. examples_dir = os.path.dirname(os.path.abspath(__file__))
  10. for example_cfg in example_cfgs:
  11. os.chdir(examples_dir)
  12. nsist.main([example_cfg])