From 5951f46be60095a74546b318432417e51bfe0aab Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 16 Nov 2014 09:08:42 -0800 Subject: Update the license header for every source file, as well as the documentation. Fixes #1209 --- docs/development/custom-vectors/cast5/generate_cast5.py | 15 +++------------ docs/development/submitting-patches.rst | 9 ++++++++- 2 files changed, 11 insertions(+), 13 deletions(-) (limited to 'docs/development') diff --git a/docs/development/custom-vectors/cast5/generate_cast5.py b/docs/development/custom-vectors/cast5/generate_cast5.py index 6a4acdad..20f35179 100644 --- a/docs/development/custom-vectors/cast5/generate_cast5.py +++ b/docs/development/custom-vectors/cast5/generate_cast5.py @@ -1,15 +1,6 @@ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. from __future__ import absolute_import, division, print_function diff --git a/docs/development/submitting-patches.rst b/docs/development/submitting-patches.rst index 54005d27..ff650c4f 100644 --- a/docs/development/submitting-patches.rst +++ b/docs/development/submitting-patches.rst @@ -25,7 +25,14 @@ configuration. You can also run the ``tox`` job with ``tox -e pep8``. `Write comments as complete sentences.`_ -Every code file must start with the boilerplate notice of the Apache License. +Every code file must start with the boilerplate licensing notice: + +.. code-block:: python + + # This file is dual licensed under the terms of the Apache License, Version + # 2.0, and the BSD License. See the LICENSE file in the root of this repository + # for complete details. + Additionally, every Python code file must contain .. code-block:: python -- cgit v1.2.3