This is not possible in odeint, at least not generically. You have two alternatives:
First approximate the delta peaks by very sharp Gaussians.
Second, integrate to the time-point of the peak. Apply the delta peak, i.e. add a step to your existing solution and starting integrate from this point to the next peak an so on.
There are als "exotic" methods for ODEs with discontinuities, but they usually treat the case when you ODE itself has discontinuities and not your external driving.