Commit 294b6d8a authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Use find_namespace_packages instead of find_packages

parent fadb5057
......@@ -12,7 +12,7 @@ import os.path as op
import shutil
from setuptools import setup
from setuptools import find_packages
from setuptools import find_namespace_packages
from setuptools import Command
......@@ -27,7 +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(include=('fsl', 'fsl.*'))
packages = find_namespace_packages(include=('fsl', 'fsl.*'))
# Figure out the current fslpy version, as defined in fsl/ We
# don't want to import the fsl package, as this may cause build problems.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment