Skip to content

Commit

Permalink
Ignore errors trying to delete make_release_tree.
Browse files Browse the repository at this point in the history
Which apparently happens in Fedora's automated build requirement
generator.
  • Loading branch information
QuLogic committed Aug 21, 2021
1 parent 54b105b commit f812f7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
# The setuptools version of sdist adds a setup.cfg file to the tree.
# We don't want that, so we simply remove it, and it will fall back to
# vanilla distutils.
del setuptools.command.sdist.sdist.make_release_tree
try:
del setuptools.command.sdist.sdist.make_release_tree
except AttributeError:
pass

from distutils.errors import CompileError
from distutils.dist import Distribution
Expand Down

0 comments on commit f812f7e

Please sign in to comment.