diff --git a/pyproject.toml b/pyproject.toml index 530dde9..8579605 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools", - "setuptools-scm", + "setuptools-scm[toml]", ] build-backend = "setuptools.build_meta" @@ -59,8 +59,7 @@ dev = [ [tool.setuptools_scm] [tool.setuptools.dynamic] -version = {attr = "stacterm.version.__version__"} -readme = {file = "README.md"} +readme = {file = "README.md", content-type = "text/markdown"} [tool.isort] profile = "black" diff --git a/src/stacterm/version.py b/src/stacterm/version.py index 84e1a44..80b18fa 100644 --- a/src/stacterm/version.py +++ b/src/stacterm/version.py @@ -1,6 +1,6 @@ from importlib.metadata import PackageNotFoundError, version try: - __version__ = version("dbami") + __version__ = version("stacterm") except PackageNotFoundError: __version__ = "0.0.0"