Skip to content

Commit b102c33

Browse files
rw1nklerQuantamHD
authored andcommitted
Remove cocotb_wrapper.py dependency on cocotb
This change allows the user to specify his installation of cocotb and prevents circular includes when the rule is imported in other repositories. However, with this change user has to explicitely add cocotb to the list of dependencies in the cocotb_test rule. Internal-tag: [#46586] Signed-off-by: Robert Winkler <[email protected]>
1 parent 327c18c commit b102c33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cocotb/BUILD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@rules_hdl_pip_deps//:requirements.bzl", "requirement")
16-
1715
py_binary(
1816
name = "cocotb_wrapper",
1917
srcs = ["cocotb_wrapper.py"],
2018
python_version = "PY3",
2119
srcs_version = "PY3",
2220
visibility = ["//visibility:public"],
23-
deps = [requirement("cocotb")],
21+
deps = [],
2422
)

0 commit comments

Comments
 (0)