From b51a46ab787454e8fcc9cc0502bd45c0a36c5ac1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 11 Nov 2008 10:42:31 -0500 Subject: [PATCH] Fixed license reference in setup.py and added license headers to source. --- README | 4 ++-- pycomedi/__init__.py | 16 ++++++++++++++++ pycomedi/common.py | 15 +++++++++++++++ pycomedi/simult_aio.py | 14 ++++++++++++++ pycomedi/single_aio.py | 16 ++++++++++++++++ pycomedi/single_dio.py | 15 +++++++++++++++ 6 files changed, 78 insertions(+), 2 deletions(-) diff --git a/README b/README index d52c9df..b90010a 100644 --- a/README +++ b/README @@ -59,8 +59,8 @@ See the tests in the various modules for simple examples. == Licence == -This project is distributed under the Python Software Foundation License. -http://www.python.org/psf/license/ +This project is distributed under the GNU Public License Version 3 or greater. +http://www.gnu.org/licenses/gpl.txt == Author == diff --git a/pycomedi/__init__.py b/pycomedi/__init__.py index c90c662..0586a19 100644 --- a/pycomedi/__init__.py +++ b/pycomedi/__init__.py @@ -1 +1,17 @@ +# PyComedi provides an object-oriented interface to the Comedi drivers. +# Copyright (C) 2008 W. Trevor King +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + from common import VERSION diff --git a/pycomedi/common.py b/pycomedi/common.py index c3b8c95..4484073 100644 --- a/pycomedi/common.py +++ b/pycomedi/common.py @@ -1,3 +1,18 @@ +# Some Comedi operations common to analog and digital IO +# Copyright (C) 2007,2008 W. Trevor King +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . """Some Comedi operations common to analog and digital IO""" import comedi as c diff --git a/pycomedi/simult_aio.py b/pycomedi/simult_aio.py index ec4ea4e..73099ae 100644 --- a/pycomedi/simult_aio.py +++ b/pycomedi/simult_aio.py @@ -1,4 +1,18 @@ # Simultaneous, finite, buffered analog inpout/output using comedi drivers +# Copyright (C) 2007,2008 W. Trevor King +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . import comedi as c import common diff --git a/pycomedi/single_aio.py b/pycomedi/single_aio.py index ac344b6..5a7a8b4 100644 --- a/pycomedi/single_aio.py +++ b/pycomedi/single_aio.py @@ -1,3 +1,19 @@ +# Use Comedi drivers for single-shot analog input/output +# Copyright (C) 2007,2008 W. Trevor King +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + """Use Comedi drivers for single-shot analog input/output Being single-shot implementations, read/writes will be software timed, diff --git a/pycomedi/single_dio.py b/pycomedi/single_dio.py index 3af6638..03b28bb 100644 --- a/pycomedi/single_dio.py +++ b/pycomedi/single_dio.py @@ -1,3 +1,18 @@ +# Use Comedi drivers for single-shot digital input/output +# Copyright (C) 2007,2008 W. Trevor King +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . """Use Comedi drivers for single-shot digital input/output Being single-shot implementations, read/writes will be software timed, -- 2.26.2