Skip to content

Commit

Permalink
fix: version configuration and license in pyproject.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinism committed Jul 26, 2024
1 parent da3d936 commit 1954e55
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
24 changes: 21 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "damavand"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{name = "Kiarash Kiani", email = "[email protected]"},
Expand All @@ -14,10 +13,29 @@ dependencies = [
"psutil>=6.0.0",
"flask>=3.0.3",
]
requires-python = "==3.10.*"
requires-python = ">=3.11.0"
readme = "README.md"
license = {text = "MIT"}
license = {text = "MPL-2.0"}
dynamic = ["version"]


[tool.pdm]
distribution = false
path = "src/damavand/__init__.py"

[tool.pdm.version]
source = "scm"

[tool.pdm.dev-dependencies]
dev = [
"Commitizen>=3.28.0",
"pdbpp>=0.10.3",
]
[tool.commitizen]
version = "1.0.0"
update_changelog_on_bump = true
version_provider = "scm"
tag_format = "v$major.$minor.$patch$prerelease"
version_files = [
"src/damavand/__init__.py"
]
1 change: 1 addition & 0 deletions src/damavand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.0"

0 comments on commit 1954e55

Please sign in to comment.