11[project ]
22name = " codeflash"
3- version = " 0.0.0 "
3+ dynamic = [ " version " ]
44description = " Client for codeflash.ai - automatic code performance optimization, powered by AI"
55authors = [{
name =
" CodeFlash Inc." ,
email =
" [email protected] " }]
66requires-python = " >=3.9"
77readme = " README.md"
8- license = " BSL-1.1"
8+ license = { text = " BSL-1.1" }
99keywords = [
1010 " codeflash" ,
1111 " performance" ,
@@ -258,18 +258,21 @@ split-on-trailing-comma = false
258258docstring-code-format = true
259259skip-magic-trailing-comma = true
260260
261- [tool .poetry-dynamic-versioning ]
261+ [tool .hatch .version ]
262+ source = " uv-dynamic-versioning"
263+
264+ [tool .uv-dynamic-versioning ]
262265enable = true
263266style = " pep440"
264267vcs = " git"
265268
266- [tool .poetry -dynamic-versioning .substitution ]
269+ [tool .uv -dynamic-versioning .substitution ]
267270files = [" codeflash/version.py" ]
268271
269- [tool .poetry -dynamic-versioning .files ."codeflash/version .py" ]
272+ [tool .uv -dynamic-versioning .files ."codeflash/version .py" ]
270273persistent-substitution = true
271274initial-content = """
272- # These version placeholders will be replaced by poetry -dynamic-versioning during `poetry build` .
275+ # These version placeholders will be replaced by uv -dynamic-versioning during build.
273276 __version__ = "0.0.0"
274277 __version_tuple__ = (0, 0, 0)
275278"""
@@ -285,5 +288,5 @@ formatter-cmds = [
285288]
286289
287290[build-system ]
288- requires = [" poetry-core>=1.0.0 " , " poetry -dynamic-versioning>=1.2.0,<2.0.0 " ]
289- build-backend = " poetry_dynamic_versioning.backend "
291+ requires = [" hatchling " , " uv -dynamic-versioning" ]
292+ build-backend = " hatchling.build "
0 commit comments