Commit dff1e43d authored by treuherz's avatar treuherz Committed by GitHub

Pass pyx_library kwargs to py_library

Ensure extra arguments, like visibility, can still be applied to pyx_libraries.
parent 625562c9
...@@ -24,7 +24,8 @@ def pyx_library( ...@@ -24,7 +24,8 @@ def pyx_library(
deps=[], deps=[],
srcs=[], srcs=[],
cython_directives=[], cython_directives=[],
cython_options=[]): cython_options=[],
**kwargs):
# First filter out files that should be run compiled vs. passed through. # First filter out files that should be run compiled vs. passed through.
py_srcs = [] py_srcs = []
pyx_srcs = [] pyx_srcs = []
...@@ -64,5 +65,6 @@ def pyx_library( ...@@ -64,5 +65,6 @@ def pyx_library(
name=name, name=name,
srcs=py_srcs, srcs=py_srcs,
deps=deps, deps=deps,
data=outs + pyx_srcs + pxd_srcs data=outs + pyx_srcs + pxd_srcs,
**kwargs
) )
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