We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7c122e + 340b235 commit 12ff7c2Copy full SHA for 12ff7c2
src/setuptools_scm/file_finder.py
@@ -50,6 +50,6 @@ def _link_not_in_scm(n):
50
# dirpath + filename with symlinks preserved
51
fullfilename = os.path.join(dirpath, filename)
52
if os.path.normcase(os.path.realpath(fullfilename)) in scm_files:
53
- res.append(os.path.join(path, os.path.relpath(fullfilename, path)))
+ res.append(os.path.join(path, os.path.relpath(fullfilename, realpath)))
54
seen.add(realdirpath)
55
return res
0 commit comments