diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-06 14:25:00 -0500 | 
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-06 14:25:00 -0500 | 
| commit | f507f76273467a737f340ecd6a2926f48fa44386 (patch) | |
| tree | 996b15ffe3a87b516e51e2d22500d7272947466a /setuptools/dist.py | |
| parent | abf002112b77c26102a60116a0336ad2e4f56611 (diff) | |
| download | python-setuptools-git-f507f76273467a737f340ecd6a2926f48fa44386.tar.gz | |
Port check_importable to metadata.EntryPoint
Diffstat (limited to 'setuptools/dist.py')
| -rw-r--r-- | setuptools/dist.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index b0aea37b..9aaaf31c 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -225,7 +225,7 @@ sequence = tuple, list  def check_importable(dist, attr, value):      try: -        ep = pkg_resources.EntryPoint.parse('x=' + value) +        ep = metadata.EntryPoint(value=value, name=None, group=None)          assert not ep.extras      except (TypeError, ValueError, AttributeError, AssertionError) as e:          raise DistutilsSetupError(  | 
