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 https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
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 https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" this command has broken installation. Please use temporary DEVELOP version of installer while PlatformIO 3.2 has not been released
python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)"

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.