diff --git a/src/pydvpl/__init__.py b/src/pydvpl/__init__.py index 8d15b3f..c3bce27 100644 --- a/src/pydvpl/__init__.py +++ b/src/pydvpl/__init__.py @@ -1,5 +1,5 @@ from ._pydvpl import ( convert_dvpl, verify_dvpl, - cli, + cli ) diff --git a/src/pydvpl/_pydvpl.py b/src/pydvpl/_pydvpl.py index 5e743f6..abed3e6 100644 --- a/src/pydvpl/_pydvpl.py +++ b/src/pydvpl/_pydvpl.py @@ -11,13 +11,14 @@ sys.path.append(os.path.dirname(PYDVPL_DIR)) from pydvpl.version import __version__, __description__, __title__, __repo__, __author__, __license__ -from pydvpl.dvpl import compress_dvpl, decompress_dvpl +from pydvpl.dvpl import compress_dvpl, decompress_dvpl, __LZ4_VERSION__ from pydvpl.color import Color def meta_info(): NAME = __title__ VERSION = __version__ + LZ4_VERSION = __LZ4_VERSION__ DEV = __author__ REPO = __repo__ INFO = __description__ @@ -60,11 +61,13 @@ def meta_info(): else: print(f"\n\n{Color.BLUE}• Version:{Color.RESET} {VERSION} (Failed to retrieve latest version from PyPI)") + print(f"{Color.BLUE} ╰─> LZ4:{Color.RESET} {LZ4_VERSION}") + print() print(f"{Color.BLUE}• Name:{Color.RESET} {NAME}") - print(f"{Color.BLUE}• Dev:{Color.RESET} {DEV}") - print(f"{Color.BLUE}• Repo:{Color.RESET} {REPO}") - print(f"{Color.BLUE}• LICENSE:{Color.RESET} {LICENSE}") - print(f"{Color.BLUE}• Info:{Color.RESET} {INFO}\n") + print(f"{Color.BLUE} ╰─> Dev:{Color.RESET} {DEV}") + print(f"{Color.BLUE} ╰─> LICENSE:{Color.RESET} {LICENSE}") + print(f"{Color.BLUE} ╰─> Repo:{Color.RESET} {REPO}") + print(f"{Color.BLUE} ╰─> Info:{Color.RESET} {INFO}\n") def brand_ascii(): diff --git a/src/pydvpl/dvpl/__init__.py b/src/pydvpl/dvpl/__init__.py index 83dca63..368592b 100644 --- a/src/pydvpl/dvpl/__init__.py +++ b/src/pydvpl/dvpl/__init__.py @@ -5,5 +5,6 @@ decompress_dvpl, DVPL_FOOTER_SIZE, DVPL_TYPE_NONE, - DVPL_TYPE_LZ4 + DVPL_TYPE_LZ4, + __LZ4_VERSION__ ) \ No newline at end of file diff --git a/src/pydvpl/dvpl/_dvpl.py b/src/pydvpl/dvpl/_dvpl.py index f5e4fe8..23c0997 100644 --- a/src/pydvpl/dvpl/_dvpl.py +++ b/src/pydvpl/dvpl/_dvpl.py @@ -1,6 +1,10 @@ import lz4.block import zlib from ..color import Color +from lz4 import __version__ + + +__LZ4_VERSION__ = __version__ DVPL_FOOTER_SIZE = 20 diff --git a/src/pydvpl/version/_version.py b/src/pydvpl/version/_version.py index 4166d98..8713ec8 100644 --- a/src/pydvpl/version/_version.py +++ b/src/pydvpl/version/_version.py @@ -1,6 +1,6 @@ __title__ = "PyDVPL" __description__ = "A CLI Tool Coded In Python3 To Convert WoTB ( Dava ) SmartDLC DVPL Files Based On LZ4 Compression." -__version__ = "1.2.0" +__version__ = "1.2.1" __author__ = "RifsxD" __repo__ = "https://github.com/rifsxd/pydvpl" __license__ = "MIT" \ No newline at end of file