diff --git a/docs/source/conf.py b/docs/source/conf.py index c8c05f5..b7133a3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,7 +13,7 @@ author = "Codethink Ltd" release = "0.1" -version = "0.1.0" +version = "0.1.1" # -- General configuration diff --git a/lifecycle/__init__.py b/lifecycle/__init__.py index ff1d282..fe97431 100644 --- a/lifecycle/__init__.py +++ b/lifecycle/__init__.py @@ -1,5 +1,7 @@ """Lifecycle management namespace""" +__version__ = "0.1.1" + from abc import ABC, abstractmethod from collections.abc import Mapping import logging diff --git a/pyproject.toml b/pyproject.toml index 7bd7948..36f5801 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,12 +5,15 @@ build-backend = "setuptools.build_meta" [project] name = "ct_lifecycle" description = "Assert the SSOT principle for users and groups across disparate applications and services." -readme = "README.md" requires-python = ">=3.9" license = {text = "MIT"} classifiers = [ "Programming Language :: Python :: 3", ] -dynamic = ["version"] +dynamic = ["version", "readme", "scripts", "dependencies", "optional-dependencies"] + +[tool.setuptools.dynamic] +readme = {file = ["README.md"], content-type = "text/markdown"} +version = {attr = "lifecycle.__version__"} [tool.setuptools_scm]