Skip to content

Commit

Permalink
Implement automated versioning using setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
hadijannat committed Sep 26, 2024
1 parent 1bb7ab0 commit d828e01
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"

[project]
name = "basyx-python-sdk"
version = "1.0.0"
description = "The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 systems"
authors = [
{ name = "The Eclipse BaSyx Authors", email = "[email protected]" }
Expand All @@ -21,17 +20,22 @@ requires-python = ">=3.8"
dependencies = [
"python-dateutil>=2.8,<3",
"lxml>=4.2,<5",
"urllib3>=1.26,<2.0",
"urllib3>=1.26,<3",
"pyecma376-2>=0.2.4"
]
# This line indicates that the version is dynamically determined
dynamic = ["version"]

[tool.setuptools_scm]
# This section configures setuptools_scm
write_to = "basyx/version.py" # Optional: creates a version.py file in your package

[project.optional-dependencies]
dev = [
"mypy",
"pycodestyle",
"codeblocks",
"coverage",
# You may want to keep other necessary development dependencies here
]

[project.urls]
Expand All @@ -45,5 +49,4 @@ basyx = ["py.typed"]
"basyx.aas.examples.data" = ["TestFile.pdf"]

[tool.setuptools.exclude-package-data]
"*" = ["test", "test.*"]

"*" = ["test", "test.*"]

0 comments on commit d828e01

Please sign in to comment.