From 4e1c7af171b922df3dd8c3102e15d89779df2871 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 4 Jan 2021 19:54:53 +0000 Subject: [PATCH] add license identifier --- PyScModule.cpp | 5 ++--- PyScModule.h | 5 ++--- pysysc/__init__.py | 6 ++++++ pysysc/sccppyy.py | 6 ++++++ pysysc/structural.py | 9 +++++---- setup.py | 6 ++++++ tests/modules.py | 6 ++++++ tests/parsing.py | 9 +++++---- tests/router_example.py | 6 ++++++ tests/systemc.py | 6 ++++++ tests/test_pysysc.py | 9 +++++---- 11 files changed, 55 insertions(+), 18 deletions(-) diff --git a/PyScModule.cpp b/PyScModule.cpp index ada025b..08ed7e0 100644 --- a/PyScModule.cpp +++ b/PyScModule.cpp @@ -1,8 +1,7 @@ /* - * PyScModule.cpp + * Copyright (c) 2019 -2021 MINRES Technolgies GmbH * - * Created on: 08.06.2019 - * Author: eyck + * SPDX-License-Identifier: Apache-2.0 */ #include "PyScModule.h" diff --git a/PyScModule.h b/PyScModule.h index 25ab3c3..b48c20b 100644 --- a/PyScModule.h +++ b/PyScModule.h @@ -1,8 +1,7 @@ /* - * PyScModule.h + * Copyright (c) 2019 -2021 MINRES Technolgies GmbH * - * Created on: 08.06.2019 - * Author: eyck + * SPDX-License-Identifier: Apache-2.0 */ #ifndef COMPONENTS_PYSCMODULE_H_ diff --git a/pysysc/__init__.py b/pysysc/__init__.py index 2ec273b..5035ea4 100644 --- a/pysysc/__init__.py +++ b/pysysc/__init__.py @@ -1 +1,7 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + from .sccppyy import * \ No newline at end of file diff --git a/pysysc/sccppyy.py b/pysysc/sccppyy.py index ea0d79e..0194a71 100644 --- a/pysysc/sccppyy.py +++ b/pysysc/sccppyy.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + import json import cppyy import os.path diff --git a/pysysc/structural.py b/pysysc/structural.py index e90f031..a5bfb3f 100644 --- a/pysysc/structural.py +++ b/pysysc/structural.py @@ -1,8 +1,9 @@ -''' -Created on 02.01.2019 +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# -@author: eyck -''' from cppyy import gbl as cpp from builtins import getattr import re diff --git a/setup.py b/setup.py index 54bbcb8..025efca 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + from setuptools import setup, Extension import os diff --git a/tests/modules.py b/tests/modules.py index 25c2dd5..405a9f9 100644 --- a/tests/modules.py +++ b/tests/modules.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + import os.path import logging import cppyy diff --git a/tests/parsing.py b/tests/parsing.py index 791f820..9a77ca0 100644 --- a/tests/parsing.py +++ b/tests/parsing.py @@ -1,8 +1,9 @@ -''' -Created on 03.01.2019 +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# -@author: eyck -''' from cppyy_backend._cppyy_generator import CppyyGenerator from clang.cindex import Config from pprint import pprint diff --git a/tests/router_example.py b/tests/router_example.py index 5324c68..921dd4e 100644 --- a/tests/router_example.py +++ b/tests/router_example.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + import json import cppyy import os.path diff --git a/tests/systemc.py b/tests/systemc.py index 22bd614..25454f5 100644 --- a/tests/systemc.py +++ b/tests/systemc.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# + import cppyy cppyy.add_include_path('.') cppyy.load_library('../lib/libsystemc.so.2.3.3') diff --git a/tests/test_pysysc.py b/tests/test_pysysc.py index cc42acd..e5adc37 100644 --- a/tests/test_pysysc.py +++ b/tests/test_pysysc.py @@ -1,8 +1,9 @@ -''' -Created on 01.01.2019 +# +# Copyright (c) 2019 -2021 MINRES Technolgies GmbH +# +# SPDX-License-Identifier: Apache-2.0 +# -@author: eyck -''' import unittest import json import cppyy