No need to explicitly send in full paths for esptool and pyserial Python libs because they're in well known locations relative to upload.py. Make upload.py calculate these on-the-fly and clean up platform.txt.