From: W. Trevor King Date: Wed, 17 Oct 2012 19:41:44 +0000 (-0400) Subject: setup: use format() for formatting strings. X-Git-Tag: 0.6~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=25cab828791c4c9237bf7cd2a88c5eadfaa64513;p=pycomedi.git setup: use format() for formatting strings. --- 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()],