This commit is contained in:
2025-04-14 22:10:27 -04:00
parent 585dad09e3
commit 3c75b5db3a
26 changed files with 3933 additions and 0 deletions

17
scripts/sync_version.py Normal file
View File

@ -0,0 +1,17 @@
"""scripts/sync_version.py"""
import toml
from pathlib import Path
def main():
pyproject_path = Path(__file__).parent.parent / "pyproject.toml"
version_path = Path(__file__).parent.parent / "falyx" / "version.py"
data = toml.load(pyproject_path)
version = data["tool"]["poetry"]["version"]
version_path.write_text(f'__version__ = "{version}"\n')
print(f"✅ Synced version: {version}{version_path}")
if __name__ == "__main__":
main()