Avoid needless pkg_resources import in pythonbundles.py
This commit is contained in:
parent
500fda1e6d
commit
279638a969
2 changed files with 4 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue