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:
parent
d985235393
commit
62e7bc7e7b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue