Skip to content

Commit

Permalink
update patch 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rifsxd committed Mar 30, 2024
1 parent e0abb44 commit b05616f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/pydvpl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ._pydvpl import (
convert_dvpl,
verify_dvpl,
cli,
cli
)
13 changes: 8 additions & 5 deletions src/pydvpl/_pydvpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down Expand Up @@ -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():
Expand Down
3 changes: 2 additions & 1 deletion src/pydvpl/dvpl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
decompress_dvpl,
DVPL_FOOTER_SIZE,
DVPL_TYPE_NONE,
DVPL_TYPE_LZ4
DVPL_TYPE_LZ4,
__LZ4_VERSION__
)
4 changes: 4 additions & 0 deletions src/pydvpl/dvpl/_dvpl.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import lz4.block
import zlib
from ..color import Color
from lz4 import __version__


__LZ4_VERSION__ = __version__


DVPL_FOOTER_SIZE = 20
Expand Down
2 changes: 1 addition & 1 deletion src/pydvpl/version/_version.py
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit b05616f

Please sign in to comment.