You can install a minimal Python version as follows
wget http://wiki.netmodule.com/_media/nrsw/packages/python-mini.tar.gz tar xzvf python-mini.tar.gz -C /
Depending on your imports in your Python script you might require other packages to include, e.g. python-serial for communication via serial line.
wget http://wiki.netmodule.com/_media/nrsw/packages/pyserial.tar.gz tar xzvf pyserial.tar.gz -C /
Here some more libs that might be required:
wget http://wiki.netmodule.com/_media/nrsw/packages/datetime.so -O /usr/lib/python2.6/lib-dynload/datetime.so wget http://wiki.netmodule.com/_media/nrsw/packages/termios.so -O /usr/lib/python2.6/lib-dynload/termios.so