| 18 | |
| 19 | == [[Image(http://xpra.org/icons/gears.png)]] Building with distutils == |
| 20 | |
| 21 | For installing into a local {{{./install}}} directory as a normal user, simply run: |
| 22 | {{{ |
| 23 | ./setup.py install --home=./install |
| 24 | }}} |
| 25 | You then have to add the local installation directory to your {{{PYTHONPATH}}} whenever you want to use xpra: |
| 26 | {{{ |
| 27 | PYTHONPATH=./install/lib*/python xpra ... |
| 28 | }}} |
| 29 | |
| 30 | To install globally for all users via sudo: |
| 31 | {{{ |
| 32 | rm -rf build install |
| 33 | sudo ./setup.py install |
| 34 | }}} |
| 35 | |
| 36 | == [[Image(http://xpra.org/icons/remove.png)]] Uninstall == |
| 37 | setuptools/distutils do not provide any uninstallation mechanism, this has nothing to do with Xpra. |
| 38 | That said, it is generally enough to remove (but you must ensure that these are the correct files as you may damage your system otherwise!): |
| 39 | /usr/bin/xpra |
| 40 | /usr/lib*/python*/*-packages/xpra* |
| 41 | /usr/share/xpra |