move constant templates into their own files

which are textually included in the 'real' files

rather than making the files themselves templates.
add `setup.py constants`