diff --git a/.gitignore b/.gitignore index cc71fef..e37eeb3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ Makefile # Folders stuff experiment/ .venv/ +venv/ .idea/ .tox/ .vs/ diff --git a/build_deb.py b/build_deb.py index d90f107..ec381fb 100644 --- a/build_deb.py +++ b/build_deb.py @@ -14,7 +14,7 @@ import platform import subprocess -from hdwallet.info import __version__, __name__, __author__, __description__ +from src.info import __version__, __name__, __author__, __description__ arch_map = { "x86_64": "amd64", @@ -30,8 +30,8 @@ app_version = __version__.lstrip("v") -app_name = "HDWallet" -app_description = "A desktop application for generating hierarchical deterministic wallets" +app_name = __name__ +app_description = __description__ maintainer = __author__ icon_path = "src/ui/images/svg/HDW-Logo.svg" @@ -43,7 +43,7 @@ try: subprocess.run(["python3", "setup.py", "bdist_appimage"], check=True) - dist_appimage_files = glob(f"dist/*.AppImage") + dist_appimage_files = glob(f"dist/{app_name}-{app_version}*.AppImage") if dist_appimage_files: appimage_output_path = dist_appimage_files[0] else: diff --git a/setup.py b/setup.py index b561fae..1aa4f02 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ import platform -app_name = "HDWallet" +app_name = info.__name__ # Get platform info platform_name = platform.system().lower() diff --git a/src/info.py b/src/info.py index e13c1ab..351bf41 100644 --- a/src/info.py +++ b/src/info.py @@ -8,4 +8,5 @@ __version__: str = "v0.1.0" __license__: str = "MIT" __author__: str = "Talon Lab" -__email__: str = "info@talonlab.org" \ No newline at end of file +__email__: str = "info@talonlab.org" +__description__: str = "A desktop application for generating hierarchical deterministic wallets" \ No newline at end of file