Assuming I am installing a python application from setup.py, and doing so within a virtualenv. Also, assuming that I have a need to provide the application sensitive configurations such as API keys / URIs.
My virtualenv might be in a path such as:
/opt/appname/venv
I believe I want to be able to install a default config file for the user of the app to modify before successful execution.
A default example might be installed to:
/etc/appname/config.sample
The problem is, if I am in a virtualenv, setup.py / setuptools really doesn't handle installing into a global path ( as far as I know ).
What would be the best pythonic way to handle this fairly common scenario?