OpenWrt is described as a Linux distribution for embedded devices.
FlexGet and dependencies currently need ~7MB of free space, plus the stuff you install with opkg (another ~3MB). It can be trimmed down, because there are dependencies only needed for future webui so it would be possible to run FlexGet without them. However easy_install will install them too.
Install python with sqlite3 and yaml. Python-openssl is only necessary for https connections, python-expat for the nzb-plugin.
opkg install python python-sqlite3 pyyaml opkg install python-sqlite opkg install python-expat opkg install python-openssl opkg install python-bzip2
opkg install distribute
pip install flexget
If you decide to unpack your packages on an external storage (recommended), use the following command: (this is needed if you get a 'No space left on device' error)
pip install flexget -b /your/path/to/extstorage/tmp
This will install FlexGet and all additional components it requires.
If the installation fails (IOError's, End of file...), it's related to a full file system, review your extroot.
# flexget -V FlexGet 1.0r2230
In some cases, using pip to extract the tar on an external path might still not be enough to have enough space on the / partition of the router to be able to install flexget.
You can use the following to set Python's path to point to the external storage so that it installs all packages on your external path e.g an attached USB flash drive
Once you have completed the above step "opkg install distribute"
export PYTHONPATH=$PYTHONPATH:/mnt/sda1 easy_install -d /mnt/sda1/ flexget
[Where /mnt/sda1/ is my mounted USB flash]
You can also put the above export command in the "startup" section of openWRT so that path is loaded at router bootup.