aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/easy_install.py')
-rw-r--r--setuptools/command/easy_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 27b4558b..89be91ac 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -2075,6 +2075,9 @@ class ScriptWriter:
import re
import sys
+ # for compatibility with easy_install; see #2198
+ __requires__ = %(spec)r
+
try:
from importlib.metadata import distribution
except ImportError: