1
0

Merge pull request #8846 from SomberNight/202401_gui_text_vendor_pyperclip

dependencies: vendor "pyperclip" pkg, used by text gui
This commit is contained in:
accumulator
2024-02-21 17:30:19 +01:00
committed by GitHub
4 changed files with 778 additions and 1 deletions

View File

@@ -8,7 +8,10 @@ import getpass
from typing import TYPE_CHECKING, Optional
# 3rd-party dependency:
import pyperclip
try:
import pyperclip
except ImportError: # only use vendored lib as fallback, to allow Linux distros to bring their own
from electrum._vendor import pyperclip
import electrum
from electrum.gui import BaseElectrumGui