+# 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
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'],
))