How to use python in Editor to build lighting and package project?

Did you find any wrokaround to handle this? it will be very helpfull