From 9e3590174afd294f700fd57178702322e443a9c7 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 5 Nov 2019 00:28:23 +0000 Subject: [PATCH] MNT: Incorrect use of find_packages, causing tests to be installed --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6b5ca7dd9..ea4b43f21 100644 --- a/setup.py +++ b/setup.py @@ -27,8 +27,7 @@ with open(op.join(basedir, 'requirements.txt'), 'rt') as f: with open(op.join(basedir, 'requirements-extra.txt'), 'rt') as f: extra_requires = {'extras' : [l.strip() for l in f.readlines()]} -packages = find_packages( - exclude=('doc', 'tests', 'dist', 'build', 'fslpy.egg-info')) +packages = find_packages(include=('fsl', 'fsl.*')) # Figure out the current fslpy version, as defined in fsl/version.py. We # don't want to import the fsl package, as this may cause build problems. -- GitLab