diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-07-27 05:11:23 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-07-27 05:14:31 -0400 |
commit | 24286270cfd87e386d190be7a5af81ae67a69d37 (patch) | |
tree | 4ed21340bd1eb1609270db21e363ca1650dfe065 /setuptools/command/upload_docs.py | |
parent | 5276901cb64f48e9ed8469ee746c86e22b85ccac (diff) | |
download | python-setuptools-git-24286270cfd87e386d190be7a5af81ae67a69d37.tar.gz |
Revert "Limit the scope of deprecation of the upload_docs command."
This reverts commit 995d309317c6895a123c03df28bc8f51f6ead5f5.
Ref #2971.
Diffstat (limited to 'setuptools/command/upload_docs.py')
-rw-r--r-- | setuptools/command/upload_docs.py | 3 |
1 files changed, 1 insertions, 2 deletions
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): |