Erotemic / ibeis

image based ecological information system
Apache License 2.0
49 stars 17 forks source link

When super setup runs as root is builds all cpp modules as root #44

Closed Erotemic closed 2 years ago

Erotemic commented 9 years ago

This causes the build directory in hesaff / pyrf / etc to have root permissions. Also the resutling lib file that is moved into these modules also has root permissions.

We need to be careful in fixing this because if you are calling setup.py develop and installing to the system python you will need root access, however if your python install prefix is in a local dir you don't need to do this.

I think a good fix would be passing in a --sudo flag to super_setup.py that calls unix_build without the sudo, but it calls python setup develop with sudo.

Erotemic commented 2 years ago

stale