-
Notifications
You must be signed in to change notification settings - Fork 49
compliance_tool: add pyproject.toml #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
s-heppner
merged 10 commits into
eclipse-basyx:develop
from
rwth-iat:add_pyproject.toml_compliance_tool
Feb 21, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
6392480
add pyproject.toml
Frosty2500 6d8ef08
adapt check-python-versions ci job
Frosty2500 cf55b62
adapt ci, install sdk dependency locally
Frosty2500 f10cdd0
adapt ci action versions
Frosty2500 38e5abf
fix comments
Frosty2500 81810f9
fix packaging
Frosty2500 38a12de
adapt how we install dependencies in the ci
Frosty2500 be0c20a
remove change to pyproject.toml
Frosty2500 bb860ef
Merge branch 'develop' into add_pyproject.toml_compliance_tool
s-heppner e69d702
Merge branch 'develop' into add_pyproject.toml_compliance_tool
s-heppner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| [build-system] | ||
| requires = [ | ||
| "setuptools>=45", | ||
| "wheel", | ||
| "setuptools_scm[toml]>=6.2" | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [tool.setuptools_scm] | ||
| # Configure setuptools_scm for version management: | ||
| # - Automatically infers the version number from the most recent git tag | ||
| # - Generates a version.py file in the package directory | ||
| # - Allows for automatic versioning between releases (e.g., 1.0.1.dev4+g12345) | ||
| # If you want to use the version anywhere in the code, use | ||
| # ``` | ||
| # from aas_compliance_tool.version import version | ||
| # print(f"Project version: {version}") | ||
| # ``` | ||
| root = ".." # Defines the path to the root of the repository | ||
| version_file = "aas_compliance_tool/version.py" | ||
|
|
||
| [project] | ||
| name = "aas_compliance_tool" | ||
| dynamic = ["version"] | ||
| description = "AAS compliance checker based on the Eclipse BaSyx Python SDK" | ||
| authors = [ | ||
| { name = "The AAS Compliance Tool authors", email = "admins@iat.rwth-aachen.de" } | ||
| ] | ||
| readme = "README.md" | ||
| license = { file = "LICENSE" } | ||
| classifiers = [ | ||
| "Programming Language :: Python :: 3", | ||
| "License :: OSI Approved :: MIT License", | ||
| "Operating System :: OS Independent", | ||
| "Development Status :: 5 - Production/Stable" | ||
| ] | ||
| requires-python = ">=3.9" | ||
| dependencies = [ | ||
| "pyecma376-2>=0.2.4", | ||
| "jsonschema>=4.21.1", | ||
| "basyx-python-sdk>=1.0.0", | ||
| ] | ||
|
|
||
| [project.optional-dependencies] | ||
| dev = [ | ||
| "mypy", | ||
| "pycodestyle", | ||
| "codeblocks", | ||
| "coverage", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| "Homepage" = "https://github.com/eclipse-basyx/basyx-python-sdk" | ||
|
|
||
| [tool.setuptools] | ||
| packages = { find = { include = ["aas_compliance_tool*"], exclude = ["test*"] } } | ||
|
|
||
| [tool.setuptools.package-data] | ||
| aas_compliance_tool = ["py.typed"] | ||
|
|
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.