The first thing to do is create a file ~/.pydistutils.cfg with the
following content:
[install]
install_lib = ~/py-lib
install_scripts = ~/bin
It's also a good idea to set PYTHONPATH variable in ~/.profile:
export PYTHONPATH=~/py-libNow we can proceed and install easy_install:
$ cd ~
$ mkdir py-lib bin
$ curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py
$ source .profile
$ python ez_setup.pyBefore installing flexget, some required libraries try to import a
module unittest which is not provided by OpenELEC's Python distribution.
To "fix" this, let's install the old pyunit:
$ bin/easy_install pyunitFinally we can proceed and install FlexGet:
$ bin/easy_install flexget transmissionrpcAll done.
If I would follow your guide to the line, the "~" folder is /storage because that is the default dir when you log in via SSH. It does not seem correct to install it in the storage folder. Am I right?