File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ``upload_docs `` command is deprecated once again.
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ def initialize_options(self):
5959 self .target_dir = None
6060
6161 def finalize_options (self ):
62+ log .warn (
63+ "Upload_docs command is deprecated. Use Read the Docs "
64+ "(https://readthedocs.org) instead." )
6265 upload .finalize_options (self )
6366 if self .upload_dir is None :
6467 if self .has_sphinx ():
@@ -70,8 +73,6 @@ def finalize_options(self):
7073 else :
7174 self .ensure_dirname ('upload_dir' )
7275 self .target_dir = self .upload_dir
73- if 'pypi.python.org' in self .repository :
74- log .warn ("Upload_docs command is deprecated for PyPi. Use RTD instead." )
7576 self .announce ('Using upload directory %s' % self .target_dir )
7677
7778 def create_zipfile (self , filename ):
You can’t perform that action at this time.
0 commit comments