Skip to content

Commit

Permalink
use setuptools_scm for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Apr 5, 2022
1 parent c476d6e commit 3a426cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion hetmatpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
__version__ = "0.0.0"
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61", "wheel"]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
Expand Down Expand Up @@ -48,8 +48,8 @@ Tracker = "https://github.com/hetio/hetmatpy/issues"
Homepage = "https://het.io/software/"
Publication = "https://greenelab.github.io/connectivity-search-manuscript/"

[tool.setuptools.dynamic]
version = {attr = "hetmatpy.__version__"}
[tool.setuptools_scm]
# enable https://github.com/pypa/setuptools_scm

# https://pycqa.github.io/isort/docs/configuration/config_files.html
[tool.isort]
Expand Down

0 comments on commit 3a426cc

Please sign in to comment.