Skip to content

Commit 67a5ca3

Browse files
authored
fix: exclude docs and tests from package (#42)
Only include packages that start with google in the published artifact
1 parent 6d7d3bf commit 67a5ca3

File tree

1 file changed

+5
-1
lines changed
  • packages/google-cloud-network-connectivity

1 file changed

+5
-1
lines changed

packages/google-cloud-network-connectivity/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@
3535
author_email="googleapis-packages@google.com",
3636
license="Apache 2.0",
3737
url="https://github.com/googleapis/python-network-connectivity",
38-
packages=setuptools.PEP420PackageFinder.find(),
38+
packages=[
39+
package
40+
for package in setuptools.PEP420PackageFinder.find()
41+
if package.startswith("google")
42+
],
3943
namespace_packages=("google", "google.cloud"),
4044
platforms="Posix; MacOS X; Windows",
4145
include_package_data=True,

0 commit comments

Comments
 (0)