1
0

build_all_examples.py 479 B

12345678910111213141516171819
  1. import os
  2. import nsist
  3. example_cfgs = [
  4. 'console/installer.cfg',
  5. 'pygame/installer.cfg',
  6. # 'pygi_mpl_numpy/installer.cfg', # this example does not currently work
  7. 'pyglet/installer.cfg',
  8. 'pyqt5/installer.cfg',
  9. 'pyqt5_opencv/installer.cfg',
  10. 'pyqt5_qml/installer.cfg',
  11. 'pywebview/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])