-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install all data files under datalad/
#6336
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6336 +/- ##
==========================================
- Coverage 89.85% 81.12% -8.74%
==========================================
Files 331 331
Lines 43209 43189 -20
==========================================
- Hits 38827 35038 -3789
- Misses 4382 8151 +3769
Continue to review full report at Codecov.
|
import sys | ||
from os.path import dirname | ||
from os.path import join as opj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isort
does it . I guess we should separate "plain" imports from remapped (the "as" ones).
findsome(opj('distribution', 'tests'), {'yaml'}) + | ||
findsome(opj('metadata', 'tests', 'data'), {'mp3', 'jpg', 'pdf'}) | ||
}, | ||
include_package_data=True, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wondered if we had it filtered on purpose. But probably not really on purpose. I guess it should be safe and we would not distribute something we do not actually like to distribute in the binary distribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go! Thx!
datalad/test/ca/
folder are currently not included when datalad is installed; this PR fixes that.datalad/metadata/tests/data/nifti1.nii.gz
is currently not included when datalad is installed; this PR fixes that.package_data
specification insetup.py
listed a number of file extensions to include underdatalad/resources/
that are no longer present; this PR removes them.datalad/
are included when installing datalad without needing to list all of the desired files' file extensions.