Skip to content

Commit

Permalink
fix(build): avoid dynamic metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Mar 23, 2024
1 parent 9f9332c commit 3366d05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions gameplan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

import importlib.metadata
import frappe
__version__ = '0.0.1'

__version__ = importlib.metadata.version(__name__)

def is_guest():
if frappe.session.user == 'Administrator':
Expand All @@ -16,4 +17,4 @@ def refetch_resource(cache_key: str | list, user=None):
{'cache_key': cache_key},
user=user or frappe.session.user,
after_commit=True
)
)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
description = "Team discussion and collaboration tool"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
version = "0.0.1"
dependencies = [
"rembg==2.0.49",
]
Expand Down

0 comments on commit 3366d05

Please sign in to comment.