8000 fix: exclude docs and tests from package (#65) · googleapis/python-compute@c157bf5 · GitHub
[go: up one dir, main page]

Skip t 10000 o content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit c157bf5

Browse files
authored
fix: exclude docs and tests from package (#65)
Only include packages that start with google in the published artifact
1 parent aa5491c commit c157bf5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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-compute",
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)
0