Correct building for python 2.6
[python-kmod.git] / setup.py
index 301967c481b77751ffc81f8604dea14cd5addc9a..757d962b185e481061c4908b9d382d27ad6994fb 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,20 @@
+# Copyright (C) 2012 Red Hat, Inc.
+#                    W. Trevor King <wking@tremily.us>
+#
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-kmod.  If not, see <http://www.gnu.org/licenses/>.
+
 from distutils.core import setup
 from distutils.extension import Extension as _Extension
 import os as _os
@@ -22,7 +39,7 @@ for filename in sorted(_os.listdir(package_name)):
     if extension == '.pyx':
         ext_modules.append(
             _Extension(
-                '{}.{}'.format(package_name, basename),
+                '{0}.{1}'.format(package_name, basename),
                 [_os.path.join(package_name, filename)],
                 libraries=['kmod'],
                 ))