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 Oct 2, 2024
1 parent d2d7278 commit bc2d607
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion payments/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__version__ = "0.0.1"
import importlib.metadata

__version__ = importlib.metadata.version(__name__)
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 = "Payments app for frappe"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
version = "0.0.1"
dependencies = [
"paytmchecksum~=1.7.0",
"razorpay~=1.4.2",
Expand Down

0 comments on commit bc2d607

Please sign in to comment.