summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-10-22 16:12:38 -0400
committerGitHub <noreply@github.com>2021-10-22 16:12:38 -0400
commit391bb5d4d09c9eb8d6b2b98968e623455ae0a384 (patch)
tree377d795c5a3cccc372d7e88bde17fcc689b0c4c8 /setuptools/command/easy_install.py
parentce9cc34c020fac31a5e10e4b1ab4af3d66dc038c (diff)
parentfc5c3083908170e1cbfd1dec91f87a3e2707e3fa (diff)
downloadpython-setuptools-git-391bb5d4d09c9eb8d6b2b98968e623455ae0a384.tar.gz
Merge pull request #2824 from pypa/debt/deprecate-setup-requires
Deprecate setup_requires, setup.py install, and easy_install command.
Diffstat (limited to 'setuptools/command/easy_install.py')
-rw-r--r--setuptools/command/easy_install.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index b88c3e9a..1aed0e87 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -153,6 +153,12 @@ class easy_install(Command):
create_index = PackageIndex
def initialize_options(self):
+ warnings.warn(
+ "easy_install command is deprecated. "
+ "Use build and pip and other standards-based tools.",
+ EasyInstallDeprecationWarning,
+ )
+
# the --user option seems to be an opt-in one,
# so the default should be False.
self.user = 0