From 24286270cfd87e386d190be7a5af81ae67a69d37 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 27 Jul 2022 05:11:23 -0400 Subject: Revert "Limit the scope of deprecation of the upload_docs command." This reverts commit 995d309317c6895a123c03df28bc8f51f6ead5f5. Ref #2971. --- setuptools/command/upload_docs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'setuptools/command') diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index a5480005..bcbaf233 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -59,6 +59,7 @@ class upload_docs(upload): self.target_dir = None def finalize_options(self): + log.warn("Upload_docs command is deprecated. Use RTD instead.") upload.finalize_options(self) if self.upload_dir is None: if self.has_sphinx(): @@ -70,8 +71,6 @@ class upload_docs(upload): else: self.ensure_dirname('upload_dir') self.target_dir = self.upload_dir - if 'pypi.python.org' in self.repository: - log.warn("Upload_docs command is deprecated for PyPi. Use RTD instead.") self.announce('Using upload directory %s' % self.target_dir) def create_zipfile(self, filename): -- cgit v1.2.1