From f5e61b25b4456bfaa97b768c29ae83a253573fff Mon Sep 17 00:00:00 2001 From: meherett Date: Wed, 27 Nov 2024 10:53:58 +0300 Subject: [PATCH] Add: __source__ link on setup project_urls --- hdwallet/__init__.py | 2 ++ hdwallet/info.py | 7 ++++--- setup.py | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hdwallet/__init__.py b/hdwallet/__init__.py index 323aafa..64e2091 100644 --- a/hdwallet/__init__.py +++ b/hdwallet/__init__.py @@ -14,6 +14,7 @@ __email__, __documentation__, __description__, + __source__, __url__, __tracker__, __keywords__, @@ -29,6 +30,7 @@ "__email__", "__documentation__", "__description__", + "__source__", "__url__", "__tracker__", "__keywords__", diff --git a/hdwallet/info.py b/hdwallet/info.py index f93a25a..b2dd010 100644 --- a/hdwallet/info.py +++ b/hdwallet/info.py @@ -13,8 +13,9 @@ __email__: str = "meherett.batu@gmail.com" __documentation__: str = "https://hdwallet.readthedocs.com" __description__: str = "Python-based library for the implementation of a Hierarchical Deterministic (HD) Wallet generator supporting more than 200 cryptocurrencies." -__url__: str = "https://github.com/talonlab/python-hdwallet" -__tracker__: str = f"{__url__}/issues" +__source__: str = "https://github.com/talonlab/python-hdwallet" +__url__: str = "https://hdwallet.io" +__tracker__: str = f"{__source__}/issues" __keywords__: List[str] = [ "ecc", "kholaw", "slip10", "ed25519", "nist256p1", "secp256k1", # ECC keywords "hd", "bip32", "bip44", "bip49", "bip84", "bip86", "bip141", "monero", "cardano", # HD keywords @@ -22,7 +23,7 @@ "cryptocurrencies", "bitcoin", "ethereum", "cryptography", "cli", "cip1852" # Other keywords ] __websites__: List[str] = [ - "https://hdwallet.io", + __url__, "https://hdwallet.online", "https://hd.wallet" # On Web3 browsers like Brave ] diff --git a/setup.py b/setup.py index d1a7f23..cfd7e17 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ def get_requirements(name: str) -> List[str]: url=info.__url__, project_urls={ "Tracker": info.__tracker__, + "Source": info.__source__, "Documentation": info.__documentation__ }, keywords=info.__keywords__,