I am trying to build xpra on local directory without root privileges. The
xpra official site says: https://www.xpra.org/trac/wiki/Building
Building with distutils
For installing into a local ./install directory as a normal user, simply run:
./setup.py install --home=./install
You then have to add the local installation directory to your PYTHONPATH whenever you want to use xpra:
PYTHONPATH=./install/lib*/python xpra ...
However it still tries to install python code in the global (write protected directories)
error: could not create '/usr/apps/python/etc': Read-only file system
$ mkdir install $ pwd /home/user/soft/xpra/src $ export PYTHONPATH=./install/lib/python/xpra #also tried without this. $ ./setup.py install --home=./install
Do you know of any workaround to avoid writing to the global directory?