Skip to content

Commit

Permalink
Revert "feat: use setuptools_scm for versioning"
Browse files Browse the repository at this point in the history
This reverts commit 61c390f.
  • Loading branch information
tekumara committed Jul 17, 2024
1 parent 2d4c3bf commit 0f4759d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions snapshots/default/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "my-project"
description = "example cookie rendered from the template"
dynamic = ["version"]
version = "0.0.0"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
Expand All @@ -16,16 +16,12 @@ dev = [
]

[build-system]
requires = ["setuptools~=69.1", "setuptools_scm~=8.0", "wheel~=0.42"]
requires = ["setuptools~=69.1", "wheel~=0.42"]

[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "node_modules*", "build*"]

# enable setuptools_scm to set the version based on git tags
[tool.setuptools_scm]
fallback_version = "0.0.0"

[tool.pyright]
venvPath = "."
venv = ".venv"
Expand Down
8 changes: 2 additions & 6 deletions {{cookiecutter.repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "{{cookiecutter.project_name}}"
description = "{{cookiecutter.description}}"
dynamic = ["version"]
version = "0.0.0"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
Expand All @@ -16,16 +16,12 @@ dev = [
]

[build-system]
requires = ["setuptools~=69.1", "setuptools_scm~=8.0", "wheel~=0.42"]
requires = ["setuptools~=69.1", "wheel~=0.42"]

[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests*", "node_modules*", "build*"]

# enable setuptools_scm to set the version based on git tags
[tool.setuptools_scm]
fallback_version = "0.0.0"

[tool.pyright]
venvPath = "."
venv = ".venv"
Expand Down

0 comments on commit 0f4759d

Please sign in to comment.