1# Copyright (C) 2012 W. Trevor King <wking@tremily.us> 2# 3# This file is part of python-kmod. 4# 5# python-kmod is free software: you can redistribute it and/or modify it under 6# the terms of the GNU Lesser General Public License version 2.1 as published 7# by the Free Software Foundation. 8# 9# python-kmod is distributed in the hope that it will be useful, but WITHOUT 10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12# details. 13# 14# You should have received a copy of the GNU Lesser General Public License 15# along with python-kmod. If not, see <http://www.gnu.org/licenses/>. 16 17"Libkmod -- Python interface to kmod API." 18 19from .version import __version__ 20try: 21 from .kmod import Kmod 22except ImportError: 23 # this is a non-Linux platform 24 pass 25