Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9cdb4f3

Browse filesBrowse files
authored
Exclude static libraries and tests to reduce zipped Python executables (bazel-contrib#758)
1 parent d278223 commit 9cdb4f3
Copy full SHA for 9cdb4f3

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎python/repositories.bzl

Copy file name to clipboardExpand all lines: python/repositories.bzl
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ filegroup(
144144
allow_empty = True,
145145
exclude = [
146146
"**/* *", # Bazel does not support spaces in file names.
147+
# static libraries
148+
"lib/*.a",
149+
"lib/**/*.a",
150+
# tests for the standard libraries.
151+
"lib/python{python_version}/**/test/**",
152+
"lib/python{python_version}/**/tests/**",
147153
],
148154
),
149155
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.