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
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit c75b52b

Browse filesBrowse files
authored
fix: exclude docs and tests from package (#69)
Only include packages that start with google in the published artifact
1 parent b0b70c0 commit c75b52b
Copy full SHA for c75b52b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@
3636
author_email="googleapis-packages@google.com",
3737
license="Apache 2.0",
3838
url="https://github.com/googleapis/python-functions",
39-
packages=setuptools.PEP420PackageFinder.find(),
39+
packages=[
40+
package
41+
for package in setuptools.PEP420PackageFinder.find()
42+
if package.startswith("google")
43+
],
4044
namespace_packages=("google", "google.cloud"),
4145
platforms="Posix; MacOS X; Windows",
4246
include_package_data=True,

0 commit comments

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