File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" hatchling" ]
2+ requires = [" hatchling" , " hatch-vcs " ]
33build-backend = " hatchling.build"
44
55[project ]
66name = " robotframework-mimesislibrary"
7- version = " 1.0.0 "
7+ dynamic = [ " version " ]
88description = " Robot Framework keyword library wrapper for the Mimesis fake data generator"
99readme = " README.md"
1010license = { file = " LICENSE" }
@@ -57,6 +57,9 @@ Repository = "https://github.com/your-org/robotframework-mimesislibrary"
5757"Bug Tracker" = " https://github.com/your-org/robotframework-mimesislibrary/issues"
5858Documentation = " https://robotframework-mimesislibrary.sinanerdinc.com/"
5959
60+ [tool .hatch .version ]
61+ source = " vcs"
62+
6063[tool .hatch .build .targets .wheel ]
6164packages = [" src/MimesisLibrary" ]
6265
Original file line number Diff line number Diff line change 1- # Version information for the MimesisLibrary package.
2- VERSION = "1.0.0"
1+ """Dynamic version resolution from package metadata."""
2+
3+ from __future__ import annotations
4+
5+ import importlib .metadata
6+
7+ try :
8+ VERSION = importlib .metadata .version ("robotframework-mimesislibrary" )
9+ except importlib .metadata .PackageNotFoundError :
10+ # Fallback when running from source checkout without installation
11+ VERSION = "0.0.0.dev0"
You can’t perform that action at this time.
0 commit comments