diff options
| author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2019-12-14 00:23:40 +0100 |
|---|---|---|
| committer | Ronny Pfannschmidt <ronny.pfannschmidt@redhat.com> | 2020-05-01 22:26:47 +0200 |
| commit | b536c087bf5fc76febff44ea38315928beb0e168 (patch) | |
| tree | d1d668710f3b8c53d925076da9c2144a5e5809f7 /src | |
| parent | c534e8a6dadb0b8830cc79203e62b6a1a966acaf (diff) | |
| download | setuptools-scm-workflows.tar.gz | |
add python testsworkflows
port testsuite to pathlib, and try to resolve windows short paths
trace git toplevel mismatch (observed on win32 name shortening)
exclude python2 on windows
remove the appveyor config, its broken
drop most travis envs that we have in github workflows now
add actions for creating egg artifacts/wheels/sdists
WIP: experiment with act
WIP: fix workflow typo
WIP: add missed runs-on
fix typoed excludes
fixup: upload actuall wheel/sdist in the build step
style fixes for the actions config
Diffstat (limited to 'src')
| -rw-r--r-- | src/setuptools_scm/file_finder_git.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setuptools_scm/file_finder_git.py b/src/setuptools_scm/file_finder_git.py index 8b81d2c..9aa6245 100644 --- a/src/setuptools_scm/file_finder_git.py +++ b/src/setuptools_scm/file_finder_git.py @@ -62,5 +62,8 @@ def git_find_files(path=""): toplevel = _git_toplevel(path) if not toplevel: return [] + fullpath = os.path.abspath(os.path.normpath(path)) + if not fullpath.startswith(toplevel): + trace("toplevel mismatch", toplevel, fullpath) git_files, git_dirs = _git_ls_files_and_dirs(toplevel) return scm_find_files(path, git_files, git_dirs) |
