Version number only in pyproject.toml

This commit is contained in:
Kujiu 2023-08-11 22:52:21 +02:00
parent 4587c8c17d
commit 7fa7573977
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
3 changed files with 9 additions and 3 deletions

View file

@ -2,6 +2,11 @@
Changes
=======
2.0.1 (*2023-08-11*)
====================
- Version number only in pyproject.toml
2.0.0 (*2023-08-02*)
====================

View file

@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "sphinx_fasvg"
version = "2.0.0"
version = "2.0.1"
requires-python = ">=3.8"
dependencies = [
"Sphinx>=7.0.0"

View file

@ -21,8 +21,9 @@ from sphinx.writers.text import TextTranslator
from sphinx.writers.manpage import ManualPageTranslator
from sphinx.util.osutil import relative_uri
__version_info__ = (2, 0, 0)
__version__ = '.'.join([str(val) for val in __version_info__])
import pkg_resources
__version__ = pkg_resources.get_distribution(__package__).version
__version_info__ = tuple(int(v) for v in __version__.split('.'))
class fa(nodes.General, nodes.Inline, nodes.Element):