diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-08-02 21:30:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-02 21:30:31 -0400 |
| commit | 9b996941d7de451b99b66398cead8e415517125a (patch) | |
| tree | 2d34a74df83de2a0833ac59e0f9b70f57f8cb695 /setuptools/command | |
| parent | a2c4c578e4921be7670448fc1cbf3f81792d86e4 (diff) | |
| parent | de61ea9ae0b944a04031a97c14e45da0a701e38d (diff) | |
| download | python-setuptools-git-9b996941d7de451b99b66398cead8e415517125a.tar.gz | |
Merge pull request #3469 from pypa/debt/deprecate-upload-docs
Deprecate upload_docs command
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/upload_docs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index a5480005..3263f07f 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -59,6 +59,9 @@ class upload_docs(upload): self.target_dir = None def finalize_options(self): + log.warn( + "Upload_docs command is deprecated. Use Read the Docs " + "(https://readthedocs.org) instead.") upload.finalize_options(self) if self.upload_dir is None: if self.has_sphinx(): @@ -70,8 +73,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): |
