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 f812f7e

Browse filesBrowse files
committed
Ignore errors trying to delete make_release_tree.
Which apparently happens in Fedora's automated build requirement generator.
1 parent 54b105b commit f812f7e
Copy full SHA for f812f7e

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.