Skip to content

Commit

Permalink
[WIP] Attempt to debug failures with cygwin CI
Browse files Browse the repository at this point in the history
For some reason it is not easy to replicate the cygwin failures pointed out
by the CI in the local environment, this commit just adds some extra
debugging statements so we can have more information about the problem
  • Loading branch information
abravalheri committed Dec 21, 2021
1 parent 3179349 commit 51b07c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setuptools/config/expand.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,11 @@ def find_packages(*, namespaces=False, root_dir=None, **kwargs):
where = kwargs.pop('where', ['.'])
if isinstance(where, str):
where = [where]
target = (_nest_url_style_path(root_dir, path) for path in where)
target = [_nest_url_style_path(root_dir, path) for path in where]
from distutils import log
log.warn(f"find_packages cwd={os.getcwd()} root_dir={root_dir}")
for p in target:
log.warn(f"find_packages where={p} {kwargs}")
return list(chain_iter(PackageFinder.find(x, **kwargs) for x in target))


Expand Down

0 comments on commit 51b07c7

Please sign in to comment.