From 243e98b0074d93051bd8e8f7aa7fd39e1dc72024 Mon Sep 17 00:00:00 2001 From: Molly Lloyd <mollymerp@users.noreply.github.com> Date: Fri, 15 Mar 2019 16:22:51 -0700 Subject: [PATCH] fix bazel rule pyx_library example so it matches implementation :) --- Tools/rules.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/rules.bzl b/Tools/rules.bzl index cd3eed58f..c59af6a99 100644 --- a/Tools/rules.bzl +++ b/Tools/rules.bzl @@ -11,8 +11,8 @@ load("@cython//Tools:rules.bzl", "pyx_library") pyx_library(name = 'mylib', srcs = ['a.pyx', 'a.pxd', 'b.py', 'pkg/__init__.py', 'pkg/c.pyx'], - py_deps = ['//py_library/dep'], - data = ['//other/data'], + # python library deps passed to py_library + deps = ['//py_library/dep'] ) The __init__.py file must be in your srcs list so that Cython can resolve -- 2.30.9