From 20e51d12083e696ac77f76412de380b5d59d4117 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Wed, 2 Jul 2025 21:35:21 +0200 Subject: [PATCH] LICENSE change --- LICENSE | 24 +++++++++--------------- LICENSE-APACHE | 13 +++++++++++++ pyproject.toml | 6 ++---- 3 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 LICENSE-APACHE diff --git a/LICENSE b/LICENSE index 460725f..f8b5abf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,15 @@ -This software is licensed under the Apache License, Version 2.0 when used within the StrictDoc project, https://github.com/strictdoc-project/strictdoc. +Copyright © 2021–2025 Stanislav Pankevich, Maryna Balioura -For all other uses, including standalone or third-party projects, the licensing terms are to be determined (TBD) and will be clarified in a future update. +This software is dual-licensed under the following terms: -For inquiries regarding licensing outside of StrictDoc, please contact Maryna Balioura mettta@gmail.com and Stanislav Pankevich s.pankevich@gmail.com. +- Licensed under the Apache License, Version 2.0 **when used within the StrictDoc project**: + https://github.com/strictdoc-project/strictdoc ----- +- **All other use cases** — including but not limited to commercial use outside the StrictDoc ecosystem — are subject to a separate license (To Be Determined). -Copyright 2020-2025 Stanislav Pankevich, Maryna Balioura +For licensing inquiries outside the scope of StrictDoc, please contact: - 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 +- Maryna Balioura: mettta@gmail.com +- Stanislav Pankevich: s.pankevich@gmail.com - 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. +See the LICENSE-APACHE file for the full text of the Apache License 2.0. diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 0000000..af89323 --- /dev/null +++ b/LICENSE-APACHE @@ -0,0 +1,13 @@ +Copyright 2020-2025 Stanislav Pankevich, Maryna Balioura + + 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. diff --git a/pyproject.toml b/pyproject.toml index 4af7105..026dcdb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,10 +27,8 @@ name = "html2pdf4doc" dynamic = ["version"] description = "Python client for HTML2PDF4Doc JavaScript library." readme = "README.md" -# https://github.com/pypa/twine/issues/1216 license-files is broken as of 2025-02-03 -# Using [] as a suggested workaround. -# license-files = [ "LICENSE" ] -license-files = [] +license = { text = "Custom: Apache-2.0 (only when used with StrictDoc); all other uses require a separate license." } +license-files = [ "LICENSE", "LICENSE-APACHE" ] requires-python = ">=3.8" authors = [ { name = "Stanislav Pankevich", email = "s.pankevich@gmail.com" },