How do I deduct the purchase of computer parts to build business computers?

Hi,

 

I purchased computer parts to build and use in my business. Can I expense the parts as I purchase them or would I have to capitalize and depreciate each computer built with the total cost being the parts?

 

Thank you.