mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-08-18 07:11:11 +03:00
stop using pkg_resources.get_distribution()
in pyinstaller.spec
(#16420)
This commit is contained in:
parent
ee087f10ec
commit
d8accf16ac
@ -5,8 +5,6 @@ import pathlib
|
||||
import platform
|
||||
import sysconfig
|
||||
|
||||
from pkg_resources import get_distribution
|
||||
|
||||
from PyInstaller.utils.hooks import collect_submodules, copy_metadata
|
||||
|
||||
THIS_IS_WINDOWS = platform.system().lower().startswith("win")
|
||||
@ -51,7 +49,7 @@ keyring_imports = collect_submodules("keyring.backends")
|
||||
# keyring uses entrypoints to read keyring.backends from metadata file entry_points.txt.
|
||||
keyring_datas = copy_metadata("keyring")[0]
|
||||
|
||||
version_data = copy_metadata(get_distribution("chia-blockchain"))[0]
|
||||
version_data = copy_metadata("chia-blockchain")[0]
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user