Skip to content

Commit ddcfb54

Browse files
committed
use setuptools find_packages, exclude tests, docs and examples from distributions
1 parent 1f5508e commit ddcfb54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import pathlib
2-
from setuptools import setup
2+
from setuptools import (
3+
find_packages,
4+
setup,
5+
)
36
from setupbase import (
4-
get_version, find_packages
7+
get_version,
58
)
69

710
here = pathlib.Path('.')
@@ -17,7 +20,7 @@
1720
long_description = README,
1821
long_description_content_type='text/markdown',
1922
version = VERSION,
20-
packages = find_packages('.'),
23+
packages = find_packages('.', exclude=['tests*', 'docs*', 'examples*']),
2124
include_package_data = True,
2225
author = 'Jupyter Development Team',
2326
author_email = '[email protected]',

0 commit comments

Comments
 (0)