mirror of https://github.com/gmbrax/Pilgrim.git
Merge pull request #50 from gmbrax/fix/bump-version
Bump the version to 0.0.4 on about_screen.py and pyproject.toml
This commit is contained in:
commit
5b0f894c88
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Pilgrim"
|
name = "Pilgrim"
|
||||||
version = "0.0.3"
|
version = "0.0.4"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Gustavo Henrique Santos Souza de Miranda", email="gustavohssmiranda@gmail.com" }
|
{ name="Gustavo Henrique Santos Souza de Miranda", email="gustavohssmiranda@gmail.com" }
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from textual.binding import Binding
|
||||||
from textual.screen import Screen
|
from textual.screen import Screen
|
||||||
from textual.widgets import Header, Footer, Button, Label, TextArea
|
from textual.widgets import Header, Footer, Button, Label, TextArea
|
||||||
from textual.containers import Container
|
from textual.containers import Container
|
||||||
|
from importlib.metadata import version
|
||||||
class AboutScreen(Screen[bool]):
|
class AboutScreen(Screen[bool]):
|
||||||
"""Screen to display application information."""
|
"""Screen to display application information."""
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ class AboutScreen(Screen[bool]):
|
||||||
self.app_title = Label("Pilgrim", id="AboutScreen_AboutTitle",classes="AboutScreen_AboutTitle")
|
self.app_title = Label("Pilgrim", id="AboutScreen_AboutTitle",classes="AboutScreen_AboutTitle")
|
||||||
self.content = Label("A TUI Based Travel Diary Application", id="AboutScreen_AboutContent",
|
self.content = Label("A TUI Based Travel Diary Application", id="AboutScreen_AboutContent",
|
||||||
classes="AboutScreen_AboutContent")
|
classes="AboutScreen_AboutContent")
|
||||||
self.version = Label("Version: 0.0.1", id="AboutScreen_AboutVersion",
|
self.version = Label(f"Version: {version('Pilgrim')}", id="AboutScreen_AboutVersion",
|
||||||
classes="AboutScreen_AboutVersion")
|
classes="AboutScreen_AboutVersion")
|
||||||
self.developer = Label("Developed By: Gustavo Henrique Miranda ", id="AboutScreen_AboutAuthor")
|
self.developer = Label("Developed By: Gustavo Henrique Miranda ", id="AboutScreen_AboutAuthor")
|
||||||
self.contact = Label("git.gustavomiranda.xyz", id="AboutScreen_AboutContact",
|
self.contact = Label("git.gustavomiranda.xyz", id="AboutScreen_AboutContact",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue