Skip to content

Commit

Permalink
fix dynamic pyproject setup
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkl33t committed Dec 5, 2023
1 parent c74e216 commit 899ce5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
author = "Codethink Ltd"

release = "0.1"
version = "0.1.0"
version = "0.1.1"

# -- General configuration

Expand Down
2 changes: 2 additions & 0 deletions lifecycle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Lifecycle management namespace"""

__version__ = "0.1.1"

from abc import ABC, abstractmethod
from collections.abc import Mapping
import logging
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 899ce5e

Please sign in to comment.