Exclude "test" from packages so that it is not installed as top-level package when "pip installing" the generated sdk (#3731)

This commit is contained in:
Andreas Kägi
2019-08-25 11:59:38 +02:00
committed by William Cheng
parent e12459f3bd
commit 859df23428

View File

@@ -32,7 +32,7 @@ setup(
url="{{packageUrl}}",
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
install_requires=REQUIRES,
packages=find_packages(),
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
long_description="""\
{{appDescription}} # noqa: E501