* export a __version__ variable for python module * assign version to be used below * better support python2 * Add copyright header