From 5a0e7bb92a38cc3d2e6fe91584ac590dab5fb98c Mon Sep 17 00:00:00 2001 From: Matthew Broadway Date: Mon, 11 Mar 2019 15:05:53 +0000 Subject: [PATCH] fixed string formatting to work with python 2 and 3 --- cython/setup.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cython/setup.py.in b/cython/setup.py.in index 0c37cd660..b7b0b7bc5 100644 --- a/cython/setup.py.in +++ b/cython/setup.py.in @@ -9,7 +9,7 @@ except ImportError: script_path = os.path.abspath(os.path.realpath(__file__)) install_path = os.path.abspath(os.path.realpath(os.path.join('${GTSAM_CYTHON_INSTALL_PATH}', 'setup.py'))) if script_path != install_path: - print('setup.py is being run from an unexpected location: "{script_path}"') + print('setup.py is being run from an unexpected location: "{}"'.format(script_path)) print('please run `make install` and run the script from there') sys.exit(1)