Hi Matthias,
Thank you for, as usual, a prompt and helpful reply!
You are quite right, the stdout requirement is a bit weird, but it is not mine.
I have found a cunning way of "deep" stdout redirection using ctypes and context manager whi…
Thanks, Matthias!
Another related question if I may. I have a python macro, converting a custom polygon format to GDS. If I run it as
Measure-Command {klayout_app.exe -z -r convert_poly_to_gds.py -rd infile=test.poly -rd outfile=test.gds}
gives:
…
Installing klayout-0.26.0.dev8-cp36-cp36m-win_amd64.whl instead of
klayout-0.26.0.dev16-cp36-cp36m-win_amd64.whl
solved the problem!
However, when I try to use pyinstaller, and run the resulting .exe I get:
RuntimeError: Unknown stream format: GDS…
setup.py worked for me too! As mentioned above, my configuration is
Windows10, WSL-Ubuntu16, Python 3.5.2, gcc 5.4.0
Thanks, Matthias and Erwin!
Native Windows + Anaconda Python is still a Holy Grail for me...
Hi,
I have built the pymod under Windows10, WSL-Ubuntu16, Python 3.5.2, gcc 5.4.0, and now trying to use it. Got stuck with the following:
import klayout.db as dboutput_file = 'test.gds'layout = db.Layout()top_cell = layout.create_cell("TOP&…
Thanks a lot for the nice hint! I am trying it now, and it does look nice. However, my ultimate goal is to have an .exe file runnable as windows process, and besides, requiring the user to enable Ubuntu on Windows appears to be asking for too much. …
Hi Matthias,
Thanks a lot - this worked splendidly! Now I am even more keen to see the Python package. I hate this kind of questions, but can't help asking: do you have a rough idea (months, weeks, etc.) of the time of release with Python package?
…
Hi Matthias,
Thanks for the prompt and detailed reply. This gives me reasons for optimism! I am currently using Anaconda, but I hope I shall be able to get away with MSYS2 (which I never tried before).
On a different subject: When I use your "…