|
1 | 1 | load("@bazel_gazelle//:def.bzl", "gazelle") |
2 | 2 | load("@pypi//:requirements.bzl", "all_whl_requirements") |
3 | | -load("@rules_python//python:defs.bzl", "py_library") |
4 | 3 | load("@rules_python//python:pip.bzl", "compile_pip_requirements") |
5 | 4 | load("@rules_python_gazelle_plugin//manifest:defs.bzl", "gazelle_python_manifest") |
6 | 5 | load("@rules_python_gazelle_plugin//modules_mapping:def.bzl", "modules_mapping") |
@@ -59,22 +58,8 @@ gazelle( |
59 | 58 | gazelle = "@rules_python_gazelle_plugin//python:gazelle_binary", |
60 | 59 | ) |
61 | 60 |
|
| 61 | +# gazelle:exclude samples |
62 | 62 | # gazelle:python_ignore_files setup.py |
63 | 63 | # gazelle:resolve py lxml.etree @pypi//lxml |
64 | 64 | # gazelle:python_binary_naming_convention $package_name$ |
65 | 65 | # gazelle:python_library_naming_convention $package_name$ |
66 | | - |
67 | | -py_library( |
68 | | - name = "document-api-python", |
69 | | - srcs = [ |
70 | | - "samples/preserve-namespaces/preserve-namespaces.py", |
71 | | - "samples/replicate-workbook/replicate_workbook.py", |
72 | | - "samples/show-fields/show_fields.py", |
73 | | - "samples/show_workbook_info/show_workbook_info.py", |
74 | | - ], |
75 | | - visibility = ["//:__subpackages__"], |
76 | | - deps = [ |
77 | | - "//tableaudocumentapi", |
78 | | - "@pypi//lxml", |
79 | | - ], |
80 | | -) |
0 commit comments