When setup.py is not at the root of the SCM directory (ie where .git or .hg reside), the file finders are disabled. This is due to the discovery mechanism https://github.com/pypa/setuptools_scm/blob/a99467848bec1782b8dd2ea32259da21b3a94a39/setuptools_scm/discover.py#L6-L13