Skip to content

Commit

Permalink
fix: package versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
cgtobi committed Sep 16, 2024
1 parent b594ccd commit 7a6afe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 167 deletions.
12 changes: 1 addition & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["wheel", "setuptools", "attrs>=17.1"]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -54,16 +54,6 @@ dev-dependencies = [
]

[tool.setuptools_scm]
local_scheme = "no-local-version"
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
write_to = "src/pyatmo/__version__.py"
write_to_template = '''"""
Pyatmo: Simple API to access Netatmo devices and data
DO NO EDIT THIS FILE - VERSION IS MANAGED BY SETUPTOOLS_SCM
"""
__version__ = "{version}"
'''

[tool.pytest.ini_options]
minversion = "8.0"
Expand Down
Loading

0 comments on commit 7a6afe1

Please sign in to comment.