fa-console 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fa-console
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Correct Persian (Farsi) console input/output for Python on Windows: automatic UTF-8 setup plus visual letter shaping and bidi for the classic console.
5
5
  Author-email: Alireza Hosseini <alireza.hosseini@hotmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fa-console
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Correct Persian (Farsi) console input/output for Python on Windows: automatic UTF-8 setup plus visual letter shaping and bidi for the classic console.
5
5
  Author-email: Alireza Hosseini <alireza.hosseini@hotmail.com>
6
6
  License: MIT
@@ -138,7 +138,7 @@ from typing import Any, Iterator
138
138
 
139
139
  __author__ = "Alireza Hosseini"
140
140
  __email__ = "alireza.hosseini@hotmail.com"
141
- __version__ = "2.0.0"
141
+ __version__ = "2.0.2"
142
142
 
143
143
  __all__ = [
144
144
  "FaConsoleError",
@@ -4,7 +4,9 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "fa-console"
7
- version = "2.0.1"
7
+ # Single source of truth: the version lives in fa_console.__version__ and is
8
+ # injected here at build time, so it can never drift between module and package.
9
+ dynamic = ["version"]
8
10
  description = "Correct Persian (Farsi) console input/output for Python on Windows: automatic UTF-8 setup plus visual letter shaping and bidi for the classic console."
9
11
  readme = "README.md"
10
12
  requires-python = ">=3.8"
@@ -56,3 +58,6 @@ Issues = "https://github.com/Padandish/fa-console/issues"
56
58
  [tool.setuptools]
57
59
  # Flat layout: publish the single module without restructuring the folder.
58
60
  py-modules = ["fa_console"]
61
+
62
+ [tool.setuptools.dynamic]
63
+ version = { attr = "fa_console.__version__" }
File without changes
File without changes
File without changes