Mark Harrison has written a nice summary on how to deploy SharePoint web parts:

http://markharrison.co.uk/blog/2005/07/how-to-deploy-web-parts.htm