setup: use format() for formatting strings.
authorW. Trevor King <wking@tremily.us>
Wed, 17 Oct 2012 19:41:44 +0000 (15:41 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 17 Oct 2012 19:58:41 +0000 (15:58 -0400)
setup.py

index c3f84d03588d765383036a8027a3cf20debdb921..18f492d236b0dcbd7d8ac770ace8f8e67b3ac262 100644 (file)
--- 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()],