Added pya compatibility module

This commit is contained in:
Matthias Koefferlein
2018-10-23 23:43:52 +02:00
parent 863144603c
commit 00a124ce64
4 changed files with 33 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
import klayout
import importlib
__all__ = []
for m in klayout.__all__:
mod = importlib.import_module("klayout." + m)
for mm in mod.__all__:
globals()[mm] = getattr(mod, mm)