Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 1325677

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

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
@@ -36,7 +36,11 @@
3636
author_email="googleapis-packages@google.com",
3737
license="Apache 2.0",
3838
url="https://github.com/googleapis/python-documentai",
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy