Switch to use importlib instead of deprecated pkg_resources

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
Yuan Tang 2024-12-21 11:40:37 -05:00
parent a6c206ea66
commit 49497d2d96
No known key found for this signature in database

View file

@ -4,6 +4,9 @@
# This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree.
import argparse
import importlib.resources
import os
import shutil
from functools import lru_cache