Skip to content

Commit acf6084

Browse files
committed
BF: provide env for exec in setup.py
1 parent b7c3862 commit acf6084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _package_status(pkg_name, version, version_getter, checker):
248248

249249
# Get version and release info, which is all stored in nipype/info.py
250250
ver_file = os.path.join('nipype', 'info.py')
251-
exec(open(ver_file).read())
251+
exec(open(ver_file).read(), locals())
252252

253253
# Prepare setuptools args
254254
if 'setuptools' in sys.modules:

0 commit comments

Comments
 (0)