Skip to content

Commit

Permalink
Fix python import issue caused by bazel
Browse files Browse the repository at this point in the history
See github.com/bazelbuild/rules_python/issues/55
for details.
  • Loading branch information
Liyou Zhou committed Oct 6, 2022
1 parent 9049455 commit 63081db
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
9 changes: 9 additions & 0 deletions cyclonedds.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/iceoryx/etc/cyclonedds.xsd">
<Domain id="any">
<SharedMemory>
<Enable>true</Enable>
<LogLevel>info</LogLevel>
</SharedMemory>
</Domain>
</CycloneDDS>
5 changes: 5 additions & 0 deletions repositories/rosidl.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ py_binary(
main = _ROSIDL_ADAPTER_APP_PY,
visibility = ["//visibility:public"],
deps = [":rosidl_adapter_lib"],
legacy_create_init=False,
)

py_library(
Expand Down Expand Up @@ -104,6 +105,7 @@ py_binary(
main = _ROSIDL_GENERATOR_C_APP_PY,
visibility = ["//visibility:public"],
deps = [":rosidl_generator_c_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down Expand Up @@ -149,6 +151,7 @@ py_binary(
main = _ROSIDL_GENERATOR_CPP_APP_PY,
visibility = ["//visibility:public"],
deps = [":rosidl_generator_cpp_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down Expand Up @@ -207,6 +210,7 @@ py_binary(
srcs = [_ROSIDL_TYPESUPPORT_INTROSPECTION_GENERATOR_C_PY],
visibility = ["//visibility:public"],
deps = [":rosidl_typesupport_introspection_generator_c_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down Expand Up @@ -244,6 +248,7 @@ py_binary(
srcs = [_ROSIDL_TYPESUPPORT_INTROSPECTION_GENERATOR_CPP_PY],
visibility = ["//visibility:public"],
deps = [":rosidl_typesupport_introspection_generator_cpp_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down
2 changes: 2 additions & 0 deletions repositories/rosidl_typesupport.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ py_binary(
main = _ROSIDL_TYPESUPPORT_GENERATOR_C_APP_PY,
visibility = ["//visibility:public"],
deps = [":rosidl_typesupport_generator_c_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down Expand Up @@ -114,6 +115,7 @@ py_binary(
main = _ROSIDL_TYPESUPPORT_GENERATOR_CPP_APP_PY,
visibility = ["//visibility:public"],
deps = [":rosidl_typesupport_generator_cpp_lib"],
legacy_create_init=False,
)

filegroup(
Expand Down

0 comments on commit 63081db

Please sign in to comment.