How I can solve this complex integral?
$$\int_{|z|=2}\dfrac{e^z}{z(z^2-1)(z+1)}dz$$
I know how to find the singularities but I do not understand in this case how to distribute the fractions of the integral. I mean $A/(x-a)$ etc.... The singularities are: $z=0$,$z=\pm 1$, $z=-1$. I got stuck.
Thank you in advance for your help.