Skip to content

Commit ab11581

Browse files
committed
fix: for conda build, restrict configparser requirement to py34 or earlier
1 parent 4358fe5 commit ab11581

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nipype/info.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""
55
from __future__ import print_function, division, unicode_literals, absolute_import
66

7+
import sys
78

89
# nipype version information. An empty version_extra corresponds to a
910
# full release. '.dev' as a version_extra string means this is a development
@@ -138,12 +139,14 @@ def get_nipype_gitversion():
138139
'prov>=%s' % PROV_MIN_VERSION,
139140
'click>=%s' % CLICK_MIN_VERSION,
140141
'funcsigs',
141-
'configparser',
142142
'pytest>=%s' % PYTEST_MIN_VERSION,
143143
'mock',
144144
'pydotplus'
145145
]
146146

147+
if sys.version_info <= (3, 4):
148+
REQUIRES.append('configparser')
149+
147150
TESTS_REQUIRES = [
148151
'pytest-cov',
149152
'codecov'

0 commit comments

Comments
 (0)