New submission from Filipe Laíns <la...@riseup.net>:

Some Linux distributions, such as Debian, have guidelines against shipping 
things like prebuilt wheels.

Taking Debian as an example, they remove the pip and setuptools wheels and 
consequently break ensurepip. This also has some implications in the venv 
module.

As a way to fix this, I would like to propose for ensurepip to install .pth 
files pointing to the pip and setuptools packages in purelib/platlib.

This behavior could either be switched on by a flag in the makefile or, maybe, 
if the wheels are not found.

Do you think this would be a reasonable approach?
Currently, we cannot rely on the ensurepip to work. Some projects that really 
need it are shipping a vendored version of the module.

----------
components: Library (Lib)
messages: 378524
nosy: FFY00, dstufft, ncoghlan, p-ganssle, pradyunsg
priority: normal
severity: normal
status: open
title: Allow ensurepip to work without bundled wheels
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to