Commit 243e98b0 authored by Molly Lloyd's avatar Molly Lloyd Committed by GitHub

fix bazel rule pyx_library example

so it matches implementation :)
parent 714123e3
...@@ -11,8 +11,8 @@ load("@cython//Tools:rules.bzl", "pyx_library") ...@@ -11,8 +11,8 @@ load("@cython//Tools:rules.bzl", "pyx_library")
pyx_library(name = 'mylib', pyx_library(name = 'mylib',
srcs = ['a.pyx', 'a.pxd', 'b.py', 'pkg/__init__.py', 'pkg/c.pyx'], srcs = ['a.pyx', 'a.pxd', 'b.py', 'pkg/__init__.py', 'pkg/c.pyx'],
py_deps = ['//py_library/dep'], # python library deps passed to py_library
data = ['//other/data'], deps = ['//py_library/dep']
) )
The __init__.py file must be in your srcs list so that Cython can resolve The __init__.py file must be in your srcs list so that Cython can resolve
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment