aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOfek Lev <ofekmeister@gmail.com>2020-06-14 21:04:04 -0400
committerOfek Lev <ofekmeister@gmail.com>2020-06-14 21:04:04 -0400
commitf8cd1f258f4b3f52521db2a12bfbd0832fb2e9fa (patch)
tree7fb0af6f547e821d42794d0e8eabd314a44dbf10
parentd6501f3c75384340f1742a864c1ffa76977437b6 (diff)
downloadexternal_python_setuptools-f8cd1f258f4b3f52521db2a12bfbd0832fb2e9fa.tar.gz
external_python_setuptools-f8cd1f258f4b3f52521db2a12bfbd0832fb2e9fa.tar.bz2
external_python_setuptools-f8cd1f258f4b3f52521db2a12bfbd0832fb2e9fa.zip
address
-rw-r--r--setuptools/command/easy_install.py1
-rw-r--r--setuptools/tests/test_easy_install.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 15e46cfc..ab8258ca 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -2073,7 +2073,6 @@ class ScriptWriter:
if sys.version_info >= (3, 8):
template = textwrap.dedent(r"""
# EASY-INSTALL-ENTRY-SCRIPT: %(spec)r,%(group)r,%(name)r
- __requires__ = %(spec)r
import re
import sys
from importlib.metadata import distribution
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 9aa2bd63..345823cf 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -74,7 +74,6 @@ class TestEasyInstallTest:
if sys.version_info >= (3, 8):
expected = header + DALS(r"""
# EASY-INSTALL-ENTRY-SCRIPT: 'spec','console_scripts','name'
- __requires__ = 'spec'
import re
import sys
from importlib.metadata import distribution