New submission from Jan Christoph <con-f-...@gmx.net>:
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 no such option 'icons' A full shell session is attached that contains details on the exact files and python version involved involved. I was under the impression ensurepip simply ensured that a suitable version of pip is installed with my Python distribution in use. ---------- components: Library (Lib) files: shell-session.txt messages: 385767 nosy: con-f-use priority: normal severity: normal status: open title: ensurepip: tries to use setup.py/setup.cfg type: behavior versions: Python 3.8, Python 3.9 Added file: https://bugs.python.org/file49768/shell-session.txt _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43038> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com