update
This commit is contained in:
@@ -3,13 +3,14 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
from distutils import log
|
||||
from distutils.errors import DistutilsError
|
||||
from functools import partial
|
||||
|
||||
from . import _reqs
|
||||
from .wheel import Wheel
|
||||
from .warnings import SetuptoolsDeprecationWarning
|
||||
from .wheel import Wheel
|
||||
|
||||
from distutils import log
|
||||
from distutils.errors import DistutilsError
|
||||
|
||||
|
||||
def _fixup_find_links(find_links):
|
||||
@@ -107,10 +108,9 @@ def _fetch_build_egg_no_warn(dist, req): # noqa: C901 # is too complex (16) #
|
||||
dist_metadata = pkg_resources.PathMetadata(
|
||||
dist_location, os.path.join(dist_location, 'EGG-INFO')
|
||||
)
|
||||
dist = pkg_resources.Distribution.from_filename(
|
||||
return pkg_resources.Distribution.from_filename(
|
||||
dist_location, metadata=dist_metadata
|
||||
)
|
||||
return dist
|
||||
|
||||
|
||||
def strip_marker(req):
|
||||
|
||||
Reference in New Issue
Block a user