From ddcfb54b4be5d71a7edd53356dbf79b8270ec764 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 2 Jan 2021 11:31:15 -0500 Subject: [PATCH] use setuptools find_packages, exclude tests, docs and examples from distributions --- setup.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 96279432ba..c65b72c8ab 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ import pathlib -from setuptools import setup +from setuptools import ( + find_packages, + setup, +) from setupbase import ( - get_version, find_packages + get_version, ) here = pathlib.Path('.') @@ -17,7 +20,7 @@ long_description = README, long_description_content_type='text/markdown', version = VERSION, - packages = find_packages('.'), + packages = find_packages('.', exclude=['tests*', 'docs*', 'examples*']), include_package_data = True, author = 'Jupyter Development Team', author_email = 'jupyter@googlegroups.com',