File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed 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):
59
59
self .target_dir = None
60
60
61
61
def finalize_options (self ):
62
+ log .warn (
63
+ "Upload_docs command is deprecated. Use Read the Docs "
64
+ "(https://readthedocs.org) instead." )
62
65
upload .finalize_options (self )
63
66
if self .upload_dir is None :
64
67
if self .has_sphinx ():
@@ -70,8 +73,6 @@ def finalize_options(self):
70
73
else :
71
74
self .ensure_dirname ('upload_dir' )
72
75
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." )
75
76
self .announce ('Using upload directory %s' % self .target_dir )
76
77
77
78
def create_zipfile (self , filename ):
You can’t perform that action at this time.
0 commit comments