Avoid needless pkg_resources import in pythonbundles.py

This commit is contained in:
Miro Hrončok 2023-03-07 17:16:58 +01:00
commit 279638a969
2 changed files with 4 additions and 6 deletions

View file

@ -15,12 +15,7 @@
import pathlib
import sys
# inject parse_version import to pythondistdeps
# not the nicest API, but :/
from pkg_resources import parse_version
import pythondistdeps
pythondistdeps.parse_version = parse_version
def generate_bundled_provides(paths, namespace):
provides = set()