AppScale/appscale-tools — pull request #408 by cdonati (2014-10-07 19:23:57+00:00)
Title: Add setup.py for distributing tools as a package

When installing with a basic `python2 setup.py install`, the templates directory will, in some cases, be put directly in site-packages. It might be beneficial to eventually move the templates directory into the appscale module directory to make the package more contained.

Also, it might be useful to define the version inside \_\_init\_\_.py (instead of local_state.py) so that setup.py can do something like `from lib import __version__` instead of hardcoding the version string. It can't import from local_state.py because the modules that local_state tries to import may not have been installed yet.