Skip to content

Commit

Permalink
extract package version in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedsnyder committed Dec 20, 2023
1 parent 6d8bbc8 commit 9733ad8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
1 change: 0 additions & 1 deletion darshan-util/pydarshan/RELEASE-CHECKLIST-PyDarshan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Notes on how to release a new version of PyDarshan
- Update CHANGELOG.rst
- commit
- Update version numbers in:
pyproject.toml
darshan/__init__.py
- Make sure documentation in docs/ is up to date
- commit
Expand Down
5 changes: 4 additions & 1 deletion darshan-util/pydarshan/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ build-backend = "setuptools.build_meta"

[project]
name = "darshan"
dynamic = ["version"]
requires-python = ">=3.7"
version = "3.4.4.0"
description = "Python tools to interact with Darshan log records of HPC applications."
readme = 'README.rst'
dependencies = [
Expand Down Expand Up @@ -59,6 +59,9 @@ include = ["darshan"]
"examples/darshan-graph/*",
"tests/input/*"]

[tool.setuptools.dynamic]
version = {attr = "darshan.__version__"}

[tool.cibuildwheel]
environment = "PYDARSHAN_BUILD_EXT=1"
skip = [
Expand Down
12 changes: 0 additions & 12 deletions darshan-util/pydarshan/setup.cfg

This file was deleted.

0 comments on commit 9733ad8

Please sign in to comment.