setting permissions of python module (python setup install)
- by SetJmp
I am configuring a distutils-based setup.py for a python module that is to be installed on a heterogeneous set of resources. Due to the heterogeneity, the location where the module is installed is not the same on each host however disutils picks the host-specific location.
I find that the module is installed without o+rx permissions using disutils (in spite of setting umask ahead of running setup.py). One solution is to manually correct this problem, however I would like an automated means that works on heterogeneous install targets.
For example, is there a way to extract the ending location of the installation from within setup.py?
Any other suggestions?
Thanks!
SetJmp