summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-03 20:40:33 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-08-03 20:40:33 +0100
commit0d3cf53483fb6be3a4f85d592098f75b134b5f7a (patch)
tree3db7140a57308acd9a929c00fb94984029b67552 /setuptools/command
parent4b8a6e01e693c619675cf47c6d963ef436eaad14 (diff)
parent0d4d5565b1d9557f0b434adc87a0415abd2a5cc9 (diff)
downloadpython-setuptools-git-0d3cf53483fb6be3a4f85d592098f75b134b5f7a.tar.gz
Merge branch 'main' into feature/pep660
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/upload_docs.py5
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):