extricated version from setup.py
added "tag" target