Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f5ae49

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

File tree

1 file changed

+5
-1
lines changed
  • packages/google-cloud-appengine-admin

1 file changed

+5
-1
lines changed

packages/google-cloud-appengine-admin/setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
author_email="[email protected]",
4747
license="Apache 2.0",
4848
url=url,
49-
packages=setuptools.PEP420PackageFinder.find(),
49+
packages=[
50+
package
51+
for package in setuptools.PEP420PackageFinder.find()
52+
if package.startswith("google")
53+
],
5054
namespace_packages=("google", "google.cloud"),
5155
platforms="Posix; MacOS X; Windows",
5256
include_package_data=True,

0 commit comments

Comments
 (0)