Skip to content

Commit 859df23

Browse files
akaegiwing328
authored andcommitted
Exclude "test" from packages so that it is not installed as top-level package when "pip installing" the generated sdk (#3731)
1 parent e12459f commit 859df23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/resources/python/setup.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ setup(
3232
url="{{packageUrl}}",
3333
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
3434
install_requires=REQUIRES,
35-
packages=find_packages(),
35+
packages=find_packages(exclude=["test", "tests"]),
3636
include_package_data=True,
3737
long_description="""\
3838
{{appDescription}} # noqa: E501

0 commit comments

Comments
 (0)