Commit ee3bd4d9 authored by Robert Bradshaw's avatar Robert Bradshaw

Add todo, release note.

parent a62e4935
...@@ -44,6 +44,8 @@ Features added ...@@ -44,6 +44,8 @@ Features added
* Support for the C++ ``typeid`` operator. * Support for the C++ ``typeid`` operator.
* Support for bazel using a the pyx_library rule in //Tools:rules.bzl.
Bugs fixed Bugs fixed
---------- ----------
......
...@@ -40,6 +40,9 @@ def pyx_library( ...@@ -40,6 +40,9 @@ def pyx_library(
outs = [src.split('.')[0] + '.so' for src in pyx_srcs] outs = [src.split('.')[0] + '.so' for src in pyx_srcs]
extra_flags = " ".join(["-X '%s=%s'" % x for x in cython_directives] + extra_flags = " ".join(["-X '%s=%s'" % x for x in cython_directives] +
["-s '%s=%s'" % x for x in cython_options]) ["-s '%s=%s'" % x for x in cython_options])
# TODO(robertwb): It might be better to only generate the C files,
# letting cc_library (or similar) handle the rest, but there isn't yet
# suport compiling Python C extensions from bazel.
native.genrule( native.genrule(
name = name + "_cythonize", name = name + "_cythonize",
srcs = pyx_srcs, srcs = pyx_srcs,
......
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