--- a/src/setuptools_scm/integration.py 2023-03-02 23:32:03.314135515 +0000 | |
+++ b/src/setuptools_scm/integration.py 2023-03-02 23:33:05.549988320 +0000 | |
@@ -92,6 +92,10 @@ | |
def find_files(path: _t.PathT = "") -> list[str]: | |
for ep in iter_entry_points("setuptools_scm.files_command"): | |
+ # Ignore entries from the pre-3 version that may be | |
+ # already installed | |
+ if ep.value.endswith("FILES_COMMAND"): | |
+ continue | |
command = ep.load() | |
if isinstance(command, str): | |
# this technique is deprecated |