feat: migrate from setuptools to importlib.metadata

Replaced the usage of setuptools.metadata with importlib.metadata to handle package metadata operations. This change aligns with modern Python practices, offering a more standardized and potentially more efficient way of accessing package metadata. The shift also reduces the dependency on the external setuptools package, which can simplify deployment and reduce potential conflicts.
This commit is contained in:
Kumi 2024-04-16 10:48:38 +02:00
parent d985235393
commit 62e7bc7e7b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -3,8 +3,8 @@ import subprocess
import time import time
import importlib import importlib
import asyncio import asyncio
import importlib.metadata
import setuptools.metadata
import sqlalchemy.exc import sqlalchemy.exc
from pathlib import Path from pathlib import Path