Preface
I've been looking for a way to build a linux distro
with no GUI that would have an access to the internet
via WiFi and would load directly into the python shell.
I also wanted this distro to live on a USB flash drive
so I don't need to install it to the hard drive meanwhile
having an option of storing my work directly to the USB flash drive.
I tried to compile kernel on my own, add busybox rootfs + static python
and it worked (you can browse through commits to have a look) but
I didn't manage to establish WiFi connection.
The solution came unexpectedly - I found TinyCore Linux which is
the best fit ever possible, so I've switched to TinyCore as a basis.
Python linux is just a customly remastered TinyCore ISO with some packages
added on top of it + some minor additions to .ashrc to load WiFi firmware,
prompt user to select an SSID and invoke python shell.
In this build pip is also available. Use "pip install your-package --user"
to store packages to the home directory. On reboot your home directory would
get automatically updated.
Download ISO
https://github.com/maksimKorzh/python-linux/releases/tag/0.0.0