Skip to content

Commit

Permalink
read shim version from version file
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Aug 12, 2024
1 parent 82805e7 commit 0bbe8ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shim/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
ayon_root = Path(os.path.dirname(__file__))
resources_dir = ayon_root.parent / "common" / "ayon_common" / "resources"

__version__ = "1.0.0"
with open(ayon_root / "version", "r") as stream:
__version__ = stream.read().strip()

low_platform_name = platform.system().lower()
IS_WINDOWS = low_platform_name == "windows"
Expand Down

0 comments on commit 0bbe8ce

Please sign in to comment.