Skip to content

Commit c0440e0

Browse files
committed
MAINT: Add bz2file dependency for Python 2
1 parent 81fe543 commit c0440e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,5 @@ def cmp_pkg_version(version_str, pkg_version_str=__version__):
209209
ISRELEASE = _version_extra == ''
210210
VERSION = __version__
211211
PROVIDES = ["nibabel", 'nisext']
212-
REQUIRES = ["numpy (>=%s)" % NUMPY_MIN_VERSION]
212+
REQUIRES = ["numpy (>=%s)" % NUMPY_MIN_VERSION,
213+
'bz2file; python_version < "3.0"']

0 commit comments

Comments
 (0)