Skip to content

Commit

Permalink
case-normalize file finder toplevel
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Nov 29, 2020
1 parent ade31fa commit a4aa15a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/setuptools_scm/file_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def is_toplevel_acceptable(toplevel):
return False

ignored = os.environ.get("SETUPTOOLS_SCM_IGNORE_VCS_ROOTS", "").split(os.pathsep)
ignored = [os.path.normcase(p) for p in ignored]

trace(toplevel, ignored)

return toplevel not in ignored

0 comments on commit a4aa15a

Please sign in to comment.