In order to keep secrets out of my Github repository, I have created for my Python app a dist version of my secrets file, config/secrets.py-dist
.
I can manually install the secrets file like so:
cp -v config/secrets.py{-dist,}
Is there a clean or pythonic way to do this as part of the setup.py install
command?