-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration inheritance #36
Comments
Completely agree. I was a blinders-wearing-horse, copying |
We are now inheriting However, I think the inheritance should go like: Reason: Let's take e.g. https://github.com/niteoweb/pyramid-realworld-example-app/blob/master/shell.nix#L23-L26 |
Yep, I agree. |
With the current configuration we are extending
development.ini
intoproduction.ini
andtest.ini
.I think a better approach would be to use
production.ini
as the master configuration file and inherit bothdevelopment.ini
andtest.ini
from it. With this model, we can add additional configuration for development like the[pshell]
directive which is not required in production. Same for testing.This is also the way Python's dependency management works.
pip install -e '.[develop]'
orpipenv install --dev
installs all the production requirements and then installs development requirements as additional dependencies.The text was updated successfully, but these errors were encountered: