Skip to content

Commit

Permalink
[?] import in windows with cmake_build_extension context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Oct 27, 2021
1 parent ac64f0d commit d18ebef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scenario/bindings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ def import_gazebo() -> None:
sys.setdlopenflags(dlopen_flags)

else:
import scenario.bindings.gazebo
import cmake_build_extension

with cmake_build_extension.build_extension_env():
import scenario.bindings.gazebo


def create_home_dot_folder() -> None:
Expand Down

0 comments on commit d18ebef

Please sign in to comment.