From 29fbe38a79a7e72f8e51288e88bcc7e89fcf00b9 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Fri, 27 Dec 2024 04:12:49 -0500 Subject: [PATCH] Header cleanup (#1732) * Header cleanup * Update copyright --- LICENSE | 3 +-- cadquery/contrib/__init__.py | 18 ------------------ cadquery/cq.py | 20 ++------------------ cadquery/occ_impl/exporters/json.py | 2 +- cadquery/plugins/__init__.py | 18 ------------------ cadquery/selectors.py | 19 ------------------- doc/conf.py | 2 +- setup.py | 2 +- 8 files changed, 6 insertions(+), 78 deletions(-) diff --git a/LICENSE b/LICENSE index d4fa4f11..6d3e1084 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,4 @@ CadQuery -Copyright (C) 2015 Parametric Products Intellectual Holdings, LLC This library is free software; you can redistribute it and/or modify it under the terms of the Apache Public License, v 2.0 @@ -193,7 +192,7 @@ modify it under the terms of the Apache Public License, v 2.0 same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [Parametric Products Intellectual Holdings, LLC] + Copyright CadQuery Development Team Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cadquery/contrib/__init__.py b/cadquery/contrib/__init__.py index 67c7b689..e69de29b 100644 --- a/cadquery/contrib/__init__.py +++ b/cadquery/contrib/__init__.py @@ -1,18 +0,0 @@ -""" - Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC - - This file is part of CadQuery. - - CadQuery is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - CadQuery 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; If not, see -""" diff --git a/cadquery/cq.py b/cadquery/cq.py index 41c20397..20b5f372 100644 --- a/cadquery/cq.py +++ b/cadquery/cq.py @@ -1,21 +1,5 @@ -""" - Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC - - This file is part of CadQuery. - - CadQuery is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - CadQuery 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; If not, see -""" +# Copyright (c) CadQuery Development Team. +# Distributed under the terms of the Apache 2 License. import math from copy import copy diff --git a/cadquery/occ_impl/exporters/json.py b/cadquery/occ_impl/exporters/json.py index 235f2657..17a9946e 100644 --- a/cadquery/occ_impl/exporters/json.py +++ b/cadquery/occ_impl/exporters/json.py @@ -9,7 +9,7 @@ JSON_TEMPLATE = """\ "metadata" : { "formatVersion" : 3, - "generatedBy" : "ParametricParts", + "generatedBy" : "cadquery", "vertices" : %(nVertices)d, "faces" : %(nFaces)d, "normals" : 0, diff --git a/cadquery/plugins/__init__.py b/cadquery/plugins/__init__.py index 3697b9f3..e69de29b 100644 --- a/cadquery/plugins/__init__.py +++ b/cadquery/plugins/__init__.py @@ -1,18 +0,0 @@ -""" - CadQuery - Copyright (C) 2015 Parametric Products Intellectual Holdings, LLC - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -""" diff --git a/cadquery/selectors.py b/cadquery/selectors.py index 1bc4061a..efc7f5e5 100644 --- a/cadquery/selectors.py +++ b/cadquery/selectors.py @@ -1,22 +1,3 @@ -""" - Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC - - This file is part of CadQuery. - - CadQuery is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - CadQuery 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; If not, see -""" - from abc import abstractmethod, ABC import math from .occ_impl.geom import Vector diff --git a/doc/conf.py b/doc/conf.py index 1833aef9..ac078872 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -62,7 +62,7 @@ master_doc = "index" # General information about the project. project = "CadQuery" -copyright = "Parametric Products Intellectual Holdings LLC, All Rights Reserved" +copyright = "CadQuery Development Team" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/setup.py b/setup.py index acdf46c5..4d3e09c2 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2015 Parametric Products Intellectual Holdings, LLC +# Copyright (c) CadQuery Development Team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.