From b5c6f1d69897d553d62713afd20cb039accc336d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 1 Feb 2024 20:28:16 -0500 Subject: [PATCH] fixes #737 -- fixed license headers (#739) --- README.rst | 5 ----- release.py | 15 +++++++++++---- src/_bcrypt/src/lib.rs | 14 +++++++++++--- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 563e318..49e0cb4 100644 --- a/README.rst +++ b/README.rst @@ -264,11 +264,6 @@ Compatibility This library should be compatible with py-bcrypt and it will run on Python 3.6+, and PyPy 3. -C Code ------- - -This library uses code from OpenBSD. - Security -------- diff --git a/release.py b/release.py index 08dbb84..825f8c5 100644 --- a/release.py +++ b/release.py @@ -1,7 +1,14 @@ -# 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. - +# 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. import getpass import io diff --git a/src/_bcrypt/src/lib.rs b/src/_bcrypt/src/lib.rs index a347214..f99ad22 100644 --- a/src/_bcrypt/src/lib.rs +++ b/src/_bcrypt/src/lib.rs @@ -1,6 +1,14 @@ -// 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. +// 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. #![deny(rust_2018_idioms)]