Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
995d3093
Commit
995d3093
authored
Jun 06, 2017
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Limit the scope of deprecation of the upload_docs command.
parent
3b443bc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
CHANGES.rst
CHANGES.rst
+11
-0
setuptools/command/upload_docs.py
setuptools/command/upload_docs.py
+2
-1
No files found.
CHANGES.rst
View file @
995d3093
v36
.1.0
-------
*
Removed
deprecation
of
and
restored
support
for
``
upload_docs
``
command
for
sites
other
than
PyPI
.
Only
warehouse
is
dropping
support
,
but
services
like
`
devpi
<
http
://
doc
.
devpi
.
net
/
latest
/>`
_
continue
to
support
docs
built
by
setuptools
' plugins. See
`this comment <https://bitbucket.org/hpk42/devpi/issues/388/support-rtd-model-for-building-uploading#comment-34292423>`_
for more context on the motivation for this change.
v36.0.1
-------
...
...
setuptools/command/upload_docs.py
View file @
995d3093
...
...
@@ -57,7 +57,6 @@ 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
():
...
...
@@ -69,6 +68,8 @@ 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. Use RTD instead."
)
self
.
announce
(
'Using upload directory %s'
%
self
.
target_dir
)
def
create_zipfile
(
self
,
filename
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment