Using setup.py install, how can I install dist versions of sensitive config files?

时间:2018-03-09 19:04:54

标签: python setup.py

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?

0 个答案:

没有答案