Ned Deily added the comment:
Thanks for the report. This behavior has been reported in open issue
issue42050. Feel free to add to the discussion there.
--
nosy: +ned.deily
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> ensurepip fails if cwd
New submission from Jan Christoph :
Running
python3 -Im ensurepip --upgrade --default-pip
in a directory that contains a setup.cfg / setup.py combination, caused
ensurepip to try and use these files, leading to
distutils.errors.DistutilsOptionError: error in setup.cfg: command 'build' has