setuptools version
setuptools.version '60.2.0'
Python version
= 3.8
OS
Manjaro
Additional environment information
No response
Description
Files installed via Wheel.install_as_egg have the same file mode as installed via pip install
Expected behavior
Files installed via Wheel.install_as_egg have the same file mode as installed via pip install. Needed here buildout/buildout#604
How to Reproduce
Install via pip:
virtuelenv env
env/bin/pip install kaleido
Check mode:
❯ stat -c "%a" env/lib/python3.8/site-packages/kaleido/executable/kaleido
755
Install via install_as_egg:
import setuptools.wheel
if __name__ == "__main__":
whl = setuptools.wheel.Wheel("kaleido-0.2.1-py2.py3-none-manylinux1_x86_64.whl")
whl.install_as_egg("./foo")
Check mode:
❯ stat -c "%a" foo/kaleido/executable/kaleido
644
Output
setuptools version
setuptools.version '60.2.0'
Python version
OS
Manjaro
Additional environment information
No response
Description
Files installed via
Wheel.install_as_egghave the same file mode as installed viapip installExpected behavior
Files installed via
Wheel.install_as_egghave the same file mode as installed viapip install. Needed here buildout/buildout#604How to Reproduce
Install via pip:
Check mode:
Install via
install_as_egg:Check mode:
Output
# ABOVE