From: Ben Kohler Date: Mon, 21 Aug 2023 16:34:05 +0000 (-0500) Subject: setup.py: exclude examples as well X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d42d7c59471249ba459e8b04c2db6535dc7e530e;p=redacted-XKCD-password-generator.git setup.py: exclude examples as well After commit f1abf9d, the examples dir is getting installed to site-packages. Let's add it to the exclude list in setup.py. Signed-off-by: Ben Kohler --- diff --git a/setup.py b/setup.py index 2f35f86..eed1e7b 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( description='Generate secure multiword passwords/passphrases, inspired by XKCD', long_description=open('README.rst', encoding='utf-8').read(), #packages=['xkcdpass'], - packages=find_namespace_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), + packages=find_namespace_packages(exclude=["examples", "*.tests", "*.tests.*", "tests.*", "tests"]), zip_safe=False, license='BSD', include_package_data=True,