From 25cab828791c4c9237bf7cd2a88c5eadfaa64513 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Oct 2012 15:41:44 -0400 Subject: [PATCH] setup: use format() for formatting strings. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c3f84d0..18f492d 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ for filename in sorted(os.listdir(package_name)): if extension == '.pyx': ext_modules.append( Extension( - '%s.%s' % (package_name, basename), + '{}.{}'.format(package_name, basename), [os.path.join(package_name, filename)], libraries=['comedi'], include_dirs=[numpy.get_include()], -- 2.26.2