Skip to content

Commit

Permalink
move setuptools_scm customisation from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AgnieszkaZaba committed Feb 1, 2025
1 parent dc9cc6c commit e661095
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tool.setuptools]

[tool.setuptools_scm]
local_scheme = "no-local-version"
version_scheme = "post-release"

# TODO
[build-system]
requires = ['setuptools==69.1.0', 'setuptools-scm==7.1.0']
requires = ['setuptools==75.3.0', 'setuptools-scm==8.1.0']
build-backend = "setuptools.build_meta"

[project]
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def get_long_description():


setup(
use_scm_version={"local_scheme": lambda _: "", "version_scheme": "post-release"},
packages=find_packages(
include=["open_atmos_jupyter_utils", "open_atmos_jupyter_utils.*"]
),
Expand Down

0 comments on commit e661095

Please sign in to comment.