From b1d8234b613fed54bdb22824fc5283d2d33e10ae Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 19 Oct 2023 23:03:46 +0200 Subject: [PATCH] Trying to fix fails on Windows --- src/pymod/distutils_src/pya/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pymod/distutils_src/pya/__init__.py b/src/pymod/distutils_src/pya/__init__.py index a822c6177..83207e91d 100644 --- a/src/pymod/distutils_src/pya/__init__.py +++ b/src/pymod/distutils_src/pya/__init__.py @@ -4,6 +4,8 @@ from klayout.pya import __all__ from klayout.pya import * from klayout.db.pcell_declaration_helper import * +from klayout.db.pcell_declaration_helper import __all__ as _all_added1 +__all__ += _all_added1 # establish the PCellDeclarationHelper using the mixin provided by _pcell_declaration_helper class PCellDeclarationHelper(_PCellDeclarationHelperMixin, PCellDeclaration): @@ -19,3 +21,5 @@ for k in dir(PCellParameterDeclaration): if k.startswith("Type"): setattr(PCellDeclarationHelper, k, getattr(PCellParameterDeclaration, k)) +__all__ += [ "PCellDeclarationHelper" ] +