Skip to content

Commit 6991fd0

Browse files
committed
stop if find_files fail
We must reraise any expection during find_files instead of generating an almost empty sdist/bdist. Related #232
1 parent 21792b1 commit 6991fd0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

setuptools_scm/integration.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ def find_files(path='.'):
3636
else:
3737
return command(path)
3838
except Exception:
39-
import traceback
4039
print("File Finder Failed for %s" % ep)
41-
traceback.print_exc()
42-
return []
40+
raise
4341

4442
else:
4543
return []

0 commit comments

Comments
 (0)