Skip to content

Commit 3967419

Browse files
committed
add version to get_info
1 parent 37df2ba commit 3967419

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nipype/pkg_info.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import print_function, division, unicode_literals, absolute_import
3-
from builtins import open
43

54
from future import standard_library
65
standard_library.install_aliases()
@@ -10,6 +9,8 @@
109
import sys
1110
import subprocess
1211

12+
from .info import VERSION
13+
1314
COMMIT_INFO_FNAME = 'COMMIT_INFO.txt'
1415
PY3 = sys.version_info[0] >= 3
1516

@@ -94,6 +95,7 @@ def get_pkg_info(pkg_path):
9495
pkg_path=pkg_path,
9596
commit_source=src,
9697
commit_hash=hsh,
98+
nipype_version=VERSION,
9799
sys_version=sys.version,
98100
sys_executable=sys.executable,
99101
sys_platform=sys.platform,

0 commit comments

Comments
 (0)