Skip to content

Commit 034828a

Browse files
committed
wip: attempt a fix for matlab listings
1 parent a1e82cd commit 034828a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/PyPartMC/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ def __generate_si():
7171
SI-prefix-aware unit multipliers, resulting in e.g.: `p = 1000 * si.hPa`
7272
notation. Note: no dimensional analysis is done! """
7373

74-
# from ._PyPartMC import __all__ as _PyPartMC_all # pylint: disable=no-name-in-module
75-
# with __build_extension_env():
76-
# from . import _PyPartMC
7774
from ._PyPartMC import *
7875
from ._PyPartMC import __versions_of_build_time_dependencies__
7976

8077
__version__ = importlib.metadata.version(__package__)
8178

82-
# __all__ = tuple([*_PyPartMC_all, "si"])
79+
import nanobind
80+
81+
meta_cls = type(_PyPartMC.AeroData)
82+
setattr(nanobind, "nb_type_0", meta_cls)

0 commit comments

Comments
 (0)