Skip to content

Commit e69d702

Browse files
committed
Merge branch 'develop' into add_pyproject.toml_compliance_tool
2 parents bb860ef + d32fd63 commit e69d702

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+252
-76
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,22 @@ jobs:
187187
run: |
188188
python -m build
189189
190+
repository-check-copyright:
191+
# This job checks that the copyright year in the header of all files is up to date
192+
runs-on: ubuntu-latest
193+
steps:
194+
- uses: actions/checkout@v4
195+
with:
196+
fetch-depth: 0 # Ensure full history is available
197+
- name: Install required dependencies
198+
run: |
199+
sudo apt-get update
200+
sudo apt-get install -y bash git
201+
- name: Run copyright check
202+
run: |
203+
chmod +x ./etc/scripts/set_copyright_year.sh
204+
./etc/scripts/set_copyright_year.sh --check
205+
190206
191207
compliance-tool-test:
192208
# This job runs the unittests on the python versions specified down at the matrix

compliance_tool/aas_compliance_tool/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/aas_compliance_tool/compliance_check_aasx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/aas_compliance_tool/compliance_check_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/aas_compliance_tool/compliance_check_xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/aas_compliance_tool/state_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/setup.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/usr/bin/env python3
2+
# Copyright (c) 2025 the Eclipse BaSyx Authors
3+
#
4+
# This program and the accompanying materials are made available under the terms of the MIT License, available in
5+
# the LICENSE file of this project.
6+
#
7+
# SPDX-License-Identifier: MIT
8+
9+
import setuptools
10+
11+
with open("README.md", "r", encoding='utf-8') as fh:
12+
long_description = fh.read()
13+
14+
setuptools.setup(
15+
name="aas_compliance_tool",
16+
version="1.0.0",
17+
author="The AAS Compliance Tool authors",
18+
description="AAS compliance checker based on the Eclipse BaSyx Python SDK",
19+
long_description=long_description,
20+
long_description_content_type="text/markdown",
21+
url="https://github.com/rwth-iat/aas-compliance-tool",
22+
packages=setuptools.find_packages(exclude=["test", "test.*"]),
23+
zip_safe=False,
24+
package_data={
25+
"aas_compliance_tool": ["py.typed", "schemas/aasJSONSchema.json", "schemas/aasXMLSchema.xsd"],
26+
},
27+
classifiers=[
28+
"Programming Language :: Python :: 3",
29+
"License :: OSI Approved :: MIT License",
30+
"Operating System :: OS Independent",
31+
"Development Status :: 5 - Production/Stable",
32+
],
33+
entry_points={
34+
'console_scripts': [
35+
"aas-compliance-check = aas_compliance_tool:main"
36+
]
37+
},
38+
python_requires='>=3.8',
39+
install_requires=[
40+
'pyecma376-2>=0.2.4',
41+
'basyx-python-sdk>=1.0.0',
42+
]
43+
)

compliance_tool/test/test_aas_compliance_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/test/test_compliance_check_aasx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

compliance_tool/test/test_compliance_check_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 the Eclipse BaSyx Authors
1+
# Copyright (c) 2025 the Eclipse BaSyx Authors
22
#
33
# This program and the accompanying materials are made available under the terms of the MIT License, available in
44
# the LICENSE file of this project.

0 commit comments

Comments
 (0)