Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evan Edmond
fslpy
Commits
294b6d8a
Commit
294b6d8a
authored
4 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MNT: Use find_namespace_packages instead of find_packages
parent
fadb5057
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+2
-2
2 additions, 2 deletions
setup.py
with
2 additions
and
2 deletions
setup.py
+
2
−
2
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment