update setup.py from template
refactor