diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/environment.py | 8 | ||||
-rw-r--r-- | numpy/setup.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/numpy/distutils/environment.py b/numpy/distutils/environment.py index 7ee5dffe6..c701bce47 100644 --- a/numpy/distutils/environment.py +++ b/numpy/distutils/environment.py @@ -15,15 +15,15 @@ class EnvironmentConfig: hook, envvar, confvar, convert = conf_desc if not convert: convert = lambda x : x - print '%s.%s:' % (self._distutils_section, name) + print('%s.%s:' % (self._distutils_section, name)) v = self._hook_handler(name, hook) - print ' hook : %s' % (convert(v),) + print(' hook : %s' % (convert(v),)) if envvar: v = os.environ.get(envvar, None) - print ' environ: %s' % (convert(v),) + print(' environ: %s' % (convert(v),)) if confvar and self._conf: v = self._conf.get(confvar, (None, None))[1] - print ' config : %s' % (convert(v),) + print(' config : %s' % (convert(v),)) def dump_variables(self): for name in self._conf_keys: diff --git a/numpy/setup.py b/numpy/setup.py index 66c5706cb..c55c85a25 100644 --- a/numpy/setup.py +++ b/numpy/setup.py @@ -24,4 +24,4 @@ def configuration(parent_package='',top_path=None): return config if __name__ == '__main__': - print 'This is the wrong setup.py file to run' + print('This is the wrong setup.py file to run') |