Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christoph Arthofer
fslpy
Commits
294b6d8a
Commit
294b6d8a
authored
Mar 05, 2021
by
Paul McCarthy
🚵
Browse files
MNT: Use find_namespace_packages instead of find_packages
parent
fadb5057
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
294b6d8a
...
...
@@ -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/version.py. We
# don't want to import the fsl package, as this may cause build problems.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment