pypi support

I added a commit on top of @repagh 's work. This commit adds pypi packaging support. The setup.py is based on the setup.py of numpy. The package is now on pypi but I'm open to turning over maintenance to someone else.