Specifying destdir as empty string leads to no scripts installed #136
Labels
component: destinations
Related to WheelDestination and friends
type: bug
A confirmed bug or unintended behavior
Hi! Recently I have been experimenting a bit with build and installer in the context of CI pipelines.
I noticed that if
python -m installer --destdir="" <wheel>
at least scripts (but maybe also the rest of the wheel contents) are not installed to/
but likely somewhere else.From a user perspective I would assume that providing empty string would behave the same way as not providing
--destdir
at all (in which case files are properly installed to the root filesystem).When looking at e.g. how this is handled in a Makefile which allows overriding of the destination using the
DESTDIR
environment variable we can observe that the following code snippet follows my above assumption:The text was updated successfully, but these errors were encountered: