Skip to content

Commit

Permalink
use single-source version info (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
lojack5 authored Jan 24, 2023
1 parent efff56e commit d74ccfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ build-backend = 'setuptools.build_meta'
[tool.setuptools]
package-dir = {"structured" = "structured"}

[tool.setuptools.dynamic]
version = {attr = 'structured.__version__'}

[project]
name = 'structured_classes'
version = '3.0.1'
dynamic = ['version']
authors = [
{ name = 'lojack5' },
]
Expand Down

0 comments on commit d74ccfc

Please sign in to comment.