aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-19 00:08:00 -0400
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-25 00:34:15 -0300
commit075f4ea0e247ceee234ed05bc04adecfeb0cf3af (patch)
tree871098a25835eef39e5bf4422033aa6728c520cc
parentc7371989365888edaac60d2ac90d6135e0a85508 (diff)
downloadkmod-075f4ea0e247ceee234ed05bc04adecfeb0cf3af.tar.gz
python: Add missing copyright blurbs.
-rw-r--r--libkmod/python/kmod/_libkmod_h.pxd11
-rw-r--r--libkmod/python/kmod/_util.pxd11
-rw-r--r--libkmod/python/kmod/_util.pyx11
-rw-r--r--libkmod/python/kmod/error.py11
-rw-r--r--libkmod/python/kmod/kmod.pxd12
-rw-r--r--libkmod/python/kmod/list.pxd11
-rw-r--r--libkmod/python/kmod/list.pyx11
-rw-r--r--libkmod/python/kmod/module.pxd11
-rw-r--r--libkmod/python/kmod/module.pyx11
-rw-r--r--libkmod/python/kmod/version.py11
-rw-r--r--libkmod/python/setup.py11
11 files changed, 122 insertions, 0 deletions
diff --git a/libkmod/python/kmod/_libkmod_h.pxd b/libkmod/python/kmod/_libkmod_h.pxd
index 9282cd2..457cfbc 100644
--- a/libkmod/python/kmod/_libkmod_h.pxd
+++ b/libkmod/python/kmod/_libkmod_h.pxd
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cdef extern from *:
ctypedef char* const_char_ptr 'const char *'
ctypedef char* const_char_const_ptr 'const char const *'
diff --git a/libkmod/python/kmod/_util.pxd b/libkmod/python/kmod/_util.pxd
index 3251d93..5193f6e 100644
--- a/libkmod/python/kmod/_util.pxd
+++ b/libkmod/python/kmod/_util.pxd
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
diff --git a/libkmod/python/kmod/_util.pyx b/libkmod/python/kmod/_util.pyx
index 7c527fc..097efaf 100644
--- a/libkmod/python/kmod/_util.pyx
+++ b/libkmod/python/kmod/_util.pyx
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
import sys as _sys
cimport _libkmod_h
diff --git a/libkmod/python/kmod/error.py b/libkmod/python/kmod/error.py
index d976bb6..d1848b8 100644
--- a/libkmod/python/kmod/error.py
+++ b/libkmod/python/kmod/error.py
@@ -1,2 +1,13 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
class KmodError (Exception):
pass
diff --git a/libkmod/python/kmod/kmod.pxd b/libkmod/python/kmod/kmod.pxd
index 2933724..8b42b63 100644
--- a/libkmod/python/kmod/kmod.pxd
+++ b/libkmod/python/kmod/kmod.pxd
@@ -1,5 +1,17 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
+
cdef class Kmod (object):
cdef _libkmod_h.kmod_ctx *_kmod_ctx
cdef object mod_dir
diff --git a/libkmod/python/kmod/list.pxd b/libkmod/python/kmod/list.pxd
index 6c3725b..b51a2fa 100644
--- a/libkmod/python/kmod/list.pxd
+++ b/libkmod/python/kmod/list.pxd
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
diff --git a/libkmod/python/kmod/list.pyx b/libkmod/python/kmod/list.pyx
index e2bf04f..9d9c959 100644
--- a/libkmod/python/kmod/list.pyx
+++ b/libkmod/python/kmod/list.pyx
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
diff --git a/libkmod/python/kmod/module.pxd b/libkmod/python/kmod/module.pxd
index 3cc4d63..4e24f35 100644
--- a/libkmod/python/kmod/module.pxd
+++ b/libkmod/python/kmod/module.pxd
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
cimport list as _list
diff --git a/libkmod/python/kmod/module.pyx b/libkmod/python/kmod/module.pyx
index e10c5f3..3c1f023 100644
--- a/libkmod/python/kmod/module.pyx
+++ b/libkmod/python/kmod/module.pyx
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
cimport _libkmod_h
from error import KmodError as _KmodError
cimport list as _list
diff --git a/libkmod/python/kmod/version.py b/libkmod/python/kmod/version.py
index 11d27f8..4b74d6c 100644
--- a/libkmod/python/kmod/version.py
+++ b/libkmod/python/kmod/version.py
@@ -1 +1,12 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
__version__ = '0.1'
diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py
index 301967c..bbef37a 100644
--- a/libkmod/python/setup.py
+++ b/libkmod/python/setup.py
@@ -1,3 +1,14 @@
+# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
+# 2012 W. Trevor King
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
from distutils.core import setup
from distutils.extension import Extension as _Extension
import os as _os