It looks like you're new here. If you want to get involved, click one of these buttons!
I built a simple viewer using klayout (pip module) and pysimplegui. In order to distribute it, MS Window binary (EXE file) was created using pyinstaller. But, it failed with an error message -- "RuntimeError: Stream has unknown format: (filename) in Layout.read". After hours of trying with different options, I finally get it working with following option. Is this the right way to build EXE? What about others' experience on this?
pyinstaller --onefile --add-data "(path to site-packages)\klayout\db_plugins;.\db_plugins" mymain.py