PlatformIo without pip

I am working on a project the involves uploading code to an arduino from a raspberry pi.

The raspberry pi will hold a golang http server handling multiple req/s so We want to avoid having anything extra on the files system. But to install platformio it seems that I need pip.
Currently we are uninstalling after installing.

python -c "$(curl -fsSL"
pip uninstall pip

Is there a workaround? I dont need any IDE stuff, I will just run this once.

platformio run
platformio run --target upload --upload-port /dev/ttyAM0
  1. pip != IDE. This is a Python package manager. It sizes ~1Mb on the disk.
  2. python -c "$(curl -fsSL" this command has broken installation. Please use temporary DEVELOP version of installer while PlatformIO 3.2 has not been released
python -c "$(curl -fsSL"

P.S: Have you seen PIO Remote? A small PIO Remote agent requires 1Mb on disk and 15Mb of RAM. Can be started as daemon.