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

Commit a90d7f4

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@
3737
author_email="[email protected]",
3838
license="Apache 2.0",
3939
url="https://github.com/googleapis/python-documentai",
40-
packages=setuptools.PEP420PackageFinder.find(),
40+
packages=[
41+
package
42+
for package in setuptools.PEP420PackageFinder.find()
43+
if package.startswith("google")
44+
],
4145
namespace_packages=("google", "google.cloud"),
4246
platforms="Posix; MacOS X; Windows",
4347
include_package_data=True,

0 commit comments

Comments
 (0)