Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca275dc

Browse filesBrowse files
authored
Merge pull request #20869 from QuLogic/fix-setup
Ignore errors trying to delete make_release_tree.
2 parents 54b105b + f812f7e commit ca275dc
Copy full SHA for ca275dc

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
# The setuptools version of sdist adds a setup.cfg file to the tree.
3939
# We don't want that, so we simply remove it, and it will fall back to
4040
# vanilla distutils.
41-
del setuptools.command.sdist.sdist.make_release_tree
41+
try:
42+
del setuptools.command.sdist.sdist.make_release_tree
43+
except AttributeError:
44+
pass
4245

4346
from distutils.errors import CompileError
4447
from distutils.dist import Distribution

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.