factorized setup.py for www plugins