Anki/pylib/anki/_vendor/BUILD.bazel
Damien Elmes 048a9a2b60 vendor stringcase
It's a tiny library that has not been updated in years, and it was
leading to a warning on startup:

 DeprecationWarning: invalid escape sequence \W
  return re.sub("\W+", "", string)
2021-10-22 08:56:44 +10:00

18 lines
382 B
Text

# export stringcase as a separate python library as well, as our build tools need it
py_library(
name = "stringcase",
srcs = ["stringcase.py"],
imports = [
".",
],
visibility = ["//visibility:public"],
)
filegroup(
name = "_vendor",
srcs = [
"__init__.py",
"stringcase.py",
],
visibility = ["//pylib:__subpackages__"],
)