python: Add missing copyright blurbs.

This commit is contained in:
W. Trevor King 2012-10-19 00:08:00 -04:00 committed by Lucas De Marchi
parent c737198936
commit 075f4ea0e2
11 changed files with 122 additions and 0 deletions

View File

@ -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 *'

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -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